Class
UIContainerUIProvider

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:

cs-api-definition
public class UIContainerUIProvider : IUIProvider

Inheritance: objectUIContainerUIProvider

Implements: IUIProvider

Constructors

UIContainerUIProvider(UIElementLayoutBox)

Declaration

cs-api-definition
public UIContainerUIProvider(UIElementLayoutBox elementBox)

Parameters

elementBox

UIElementLayoutBox

Properties

BoundingRectangle

Gets the bounding rectangle of the UI element within the container.

Declaration

cs-api-definition
public RectangleF BoundingRectangle { get; }

Property Value

RectangleF

Implements IUIProvider.BoundingRectangle

ContainingLayer

Gets the containing layer of the current UI provider.

Declaration

cs-api-definition
public IUILayer ContainingLayer { get; set; }

Property Value

IUILayer

Implements IUIProvider.ContainingLayer

IsInvalidated

Gets a value indicating whether the UI provider has been invalidated.

Declaration

cs-api-definition
public bool IsInvalidated { get; }

Property Value

bool

Implements IUIProvider.IsInvalidated

IsRemoved

Gets a value indicating whether the UI component has been removed from the UI container.

Declaration

cs-api-definition
public bool IsRemoved { get; }

Property Value

bool

Implements IUIProvider.IsRemoved

UIElement

Represents a UI element within the UIContainer UI Provider.

Declaration

cs-api-definition
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

cs-api-definition
public UIElementLayoutBox UIElementBox { get; }

Property Value

UIElementLayoutBox

Methods

Arrange(UILayerUpdateContext)

Arranges the UI elements within the specified update context.

Declaration

cs-api-definition
public void Arrange(UILayerUpdateContext uILayerUpdateContext)

Parameters

uILayerUpdateContext

UILayerUpdateContext

The context that contains information about the current update to the UI layer.

Implements IUIProvider.Arrange(UILayerUpdateContext)

GetUIElements(UILayerUpdateContext)

Retrieves the user interface elements associated with the specified UI layer update context.

Declaration

cs-api-definition
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)

Parameters

context

UILayerUpdateContext

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 IUIProvider.GetUIElements(UILayerUpdateContext)

ReleaseElements()

Releases the UI elements managed by the UIContainerUIProvider.

Declaration

cs-api-definition
public void ReleaseElements()

Implements IUIProvider.ReleaseElements()

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

cs-api-definition
public void UpdateUI(UILayerUpdateContext uILayerUpdateContext)

Parameters

uILayerUpdateContext

UILayerUpdateContext

The context that provides information necessary for updating the UI layer.

Implements IUIProvider.UpdateUI(UILayerUpdateContext)