BackgroundUIProvider
Provides background UI functionalities for Telerik documents.
Definition
Namespace:Telerik.Windows.Documents.UI.UIProviders
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class BackgroundUIProvider : IUIProvider
Inheritance: objectBackgroundUIProvider
Implements:
Constructors
Properties
BackgroundUI
Rectangle
Gets the background UI associated with the current instance of the BackgroundUIProvider.
public Rectangle BackgroundUI { get; }
Gets the bounding rectangle for the background UI provider, which defines the area for rendering backgrounds.
public RectangleF BoundingRectangle { get; }
A Rect structure representing the dimensions of the bounding rectangle.
Implements:
Gets the containing layer for the background UI provider.
public IUILayer ContainingLayer { get; set; }
The layer that contains the background UI elements.
Implements:
Gets the current update context for the Background UI Provider. This context is used to manage the state and updates of UI elements within the Background UI.
public UILayerUpdateContext CurrentUpdateContext { get; }
Gets a value indicating whether the background UI provider is invalidated.
public bool IsInvalidated { get; protected set; }
Implements:
Gets a value indicating whether the background UI element has been removed.
public bool IsRemoved { get; }
Implements:
Methods
Arranges the background UI elements based on the specified update context.
public void Arrange(UILayerUpdateContext uILayerUpdateContext)
The update context containing information about the UI layer updates.
Implements:
Retrieves the UI elements associated with the specified update context.
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The context that provides information about the UI layer update.
Returns:IEnumerable<UIElement>
A collection of UI elements that have been updated in the specified context.
Implements:
Releases the elements managed by the BackgroundUIProvider.
public void ReleaseElements()
Implements:
Updates the user interface elements based on the specified update context.
public virtual void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
The context containing the information needed to update the UI elements.
Implements: