New to Telerik UI for WPFStart a free 30-day trial

Represents a provider for user interface elements associated with pages in the document model.

Definition

Namespace:Telerik.Windows.Documents.UI.UIProviders

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class PageUIProvider : IUIProvider

Inheritance: objectPageUIProvider

Implements: IUIProvider

Constructors

C#
public PageUIProvider(SectionLayoutBox sectionBox)
Parameters:sectionBoxSectionLayoutBox

Properties

Gets the bounding rectangle of the page UI provider, which defines the area occupied by the UI elements.

C#
public RectangleF BoundingRectangle { get; }

Implements: IUIProvider.BoundingRectangle

Gets the layer that contains the page UI elements.

C#
public IUILayer ContainingLayer { get; set; }

Implements: IUIProvider.ContainingLayer

Gets the current update context of the Page UI Provider.

C#
public UILayerUpdateContext CurrentUpdateContext { get; }

Gets a value indicating whether the Page UI Provider is invalidated.

C#
public bool IsInvalidated { get; }

Implements: IUIProvider.IsInvalidated

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

C#
public bool IsRemoved { get; }
Property Value:

true if the page is removed; otherwise, false.

Implements: IUIProvider.IsRemoved

Represents a SectionBox element in the PageUIProvider for UI rendering purposes. This element is responsible for providing the visual representation of sections within the document interface, enabling better management and organization of content.

C#
public SectionLayoutBox SectionBox { get; }

Represents the Section UI within the Page UI provider in Telerik's document management framework. This class is responsible for managing and displaying section-related user interface elements in the document viewer.

C#
public SectionUIBase SectionUI { get; }

Methods

Arranges the UI elements within the specified update context for the page provider.

C#
public void Arrange(UILayerUpdateContext uILayerUpdateContext)
Parameters:uILayerUpdateContextUILayerUpdateContext

The context containing information about the UI layer update.

Implements: IUIProvider.Arrange(UILayerUpdateContext)

Retrieves a collection of UI elements associated with the specified UI layer update context.

C#
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
Parameters:contextUILayerUpdateContext

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

Returns:

IEnumerable<UIElement>

A collection of UI elements represented by the specified update context.

Implements: IUIProvider.GetUIElements(UILayerUpdateContext)

Releases all elements associated with the PageUIProvider.

C#
public void ReleaseElements()

Implements: IUIProvider.ReleaseElements()

Remarks:

This method cleans up resources and ensures that all UI elements are properly disposed of.

Updates the user interface based on the provided update context. This method refreshes the UI elements to reflect any changes in the underlying data model.

C#
public virtual void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
Parameters:uILayerUpdateContextUILayerUpdateContext

The update context that contains information about the layers that need to be refreshed.

Implements: IUIProvider.UpdateUI(UILayerUpdateContext)