Interface
IUIProvider

Represents a user interface provider for Telerik document components.

Definition

Namespace:Telerik.Windows.Documents.UI.UIProviders

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public interface IUIProvider

Properties

BoundingRectangle

Gets the bounding rectangle of the UI provider.

Declaration

cs-api-definition
RectangleF BoundingRectangle { get; }

Property Value

RectangleF

ContainingLayer

Gets the containing layer of the UI provider.

Declaration

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

Property Value

IUILayer

IsInvalidated

Indicates whether the UI provider has been invalidated.

Declaration

cs-api-definition
bool IsInvalidated { get; }

Property Value

bool

IsRemoved

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

Declaration

cs-api-definition
bool IsRemoved { get; }

Property Value

bool

Methods

Arrange(UILayerUpdateContext)

Arranges the specified UI layer update context within the UI provider.

Declaration

cs-api-definition
void Arrange(UILayerUpdateContext uiLayerUpdateContext)

Parameters

uiLayerUpdateContext

UILayerUpdateContext

The context that contains information about the UI layer update.

GetUIElements(UILayerUpdateContext)

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

Declaration

cs-api-definition
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 relevant to the given update context.

ReleaseElements()

Releases the resources associated with the UI elements managed by the provider.

Declaration

cs-api-definition
void ReleaseElements()

UpdateUI(UILayerUpdateContext)

Updates the user interface based on the specified update context.

Declaration

cs-api-definition
void UpdateUI(UILayerUpdateContext uiLayerUpdateContext)

Parameters

uiLayerUpdateContext

UILayerUpdateContext

The context containing information needed to update the UI layer.