PageUIProvider
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:
public class PageUIProvider : IUIProvider
Inheritance: objectPageUIProvider
Implements:
Constructors
Properties
Gets the bounding rectangle of the page UI provider, which defines the area occupied by the UI elements.
public RectangleF BoundingRectangle { get; }
Implements:
Gets the layer that contains the page UI elements.
public IUILayer ContainingLayer { get; set; }
Implements:
Gets the current update context of the Page UI Provider.
public UILayerUpdateContext CurrentUpdateContext { get; }
Gets a value indicating whether the Page UI Provider is invalidated.
public bool IsInvalidated { get; }
Implements:
Gets a value indicating whether the page has been removed from the UI provider.
public bool IsRemoved { get; }
true if the page is removed; otherwise, false.
Implements:
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.
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.
public SectionUIBase SectionUI { get; }
Methods
Arranges the UI elements within the specified update context for the page provider.
public void Arrange(UILayerUpdateContext uILayerUpdateContext)
The context containing information about the UI layer update.
Implements:
Retrieves a collection of UI elements associated with the specified UI layer update context.
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
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:
Releases all elements associated with the PageUIProvider.
public void ReleaseElements()
Implements:
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.
public virtual void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
The update context that contains information about the layers that need to be refreshed.
Implements: