ClassUIContainerUIProvider
Provides a container UI provider for managing user interface elements within the Telerik document UI framework.
Definition
Namespace:Telerik.Windows.Documents.UI.UIProviders
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class UIContainerUIProvider : IUIProvider
Inheritance: objectUIContainerUIProvider
Implements:
Constructors
UIContainerUIProvider(UIElementLayoutBox)
Declaration
public UIContainerUIProvider(UIElementLayoutBox elementBox)
Parameters
elementBox
Properties
BoundingRectangle
Gets the bounding rectangle of the UI element within the container.
Declaration
public RectangleF BoundingRectangle { get; }
Property Value
Implements
ContainingLayer
Gets the containing layer of the current UI provider.
Declaration
public IUILayer ContainingLayer { get; set; }
Property Value
Implements
IsInvalidated
Gets a value indicating whether the UI provider has been invalidated.
IsRemoved
Gets a value indicating whether the UI component has been removed from the UI container.
UIElement
Represents a UI element within the UIContainer UI Provider.
Declaration
public UIElement UIElement { get; }
Property Value
UIElement
UIElementBox
Represents a UI element box within the UI container, providing functionality for managing and displaying UI elements in a structured manner.
Declaration
public UIElementLayoutBox UIElementBox { get; }
Property Value
Methods
Arrange(UILayerUpdateContext)
Arranges the UI elements within the specified update context.
Declaration
public void Arrange(UILayerUpdateContext uILayerUpdateContext)
Parameters
uILayerUpdateContext
The context that contains information about the current update to the UI layer.
Implements
GetUIElements(UILayerUpdateContext)
Retrieves the user interface elements associated with the specified UI layer update context.
Declaration
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
Parameters
context
The context that contains information about the UI layer update.
Returns
IEnumerable<UIElement>
A collection of UI elements that are part of the specified update context.
Implements
ReleaseElements()
Releases the UI elements managed by the UIContainerUIProvider.
Declaration
public void ReleaseElements()
Implements
Remarks
This method is responsible for cleaning up resources associated with UI elements, ensuring that any allocated memory is released and that there are no memory leaks.
UpdateUI(UILayerUpdateContext)
Updates the user interface based on the specified context for the UI layer.
Declaration
public void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
Parameters
uILayerUpdateContext
The context that provides information necessary for updating the UI layer.
Implements