PageUIProvider
Provides the page or web-layout surface associated with a section layout box.
Definition
Namespace:Telerik.WinForms.Documents.UI.UIProviders
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class PageUIProvider : IUIProvider
Inheritance: objectPageUIProvider
Implements:
Constructors
Initializes a provider for the specified section layout box.
public PageUIProvider(SectionLayoutBox sectionBox)
The section whose surface should be displayed.
Properties
Gets the section layout bounds represented by this provider.
public RectangleF BoundingRectangle { get; }
Implements:
Gets or sets the layer that hosts the page surface.
public IUILayer ContainingLayer { get; set; }
Implements:
Gets the most recently supplied layer-update context.
public UILayerUpdateContext CurrentUpdateContext { get; }
Gets whether the page surface is invalidated; this provider always returns false.
public bool IsInvalidated { get; }
Implements:
Gets whether the section layout box has been removed.
public bool IsRemoved { get; }
Implements:
Gets the section layout box for which the page surface is created.
public SectionLayoutBox SectionBox { get; }
Gets the pooled page or web-layout visual.
public SectionUIBase SectionUI { get; }
Methods
Sizes the visual to its presenter outside paged layout; page presenters size it during UpdateUI(UILayerUpdateContext).
public void Arrange(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Implements:
Creates the page or web-layout visual on first use and applies the owner's page background color.
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The current layer context.
Returns:IEnumerable<UIElement>
The section's page or web-layout visual.
Implements:
Returns the page or web-layout visual to the object pool.
public void ReleaseElements()
Implements:
Updates page dimensions and border visibility when hosted by a page presenter.
public virtual void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Implements: