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

Provides background UI functionalities for Telerik documents.

Definition

Namespace:Telerik.Windows.Documents.UI.UIProviders

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class BackgroundUIProvider : IUIProvider

Inheritance: objectBackgroundUIProvider

Implements: IUIProvider

Constructors

C#
public BackgroundUIProvider(LayoutBox layoutBox)
Parameters:layoutBoxLayoutBox

Properties

BackgroundUI

Rectangle

Gets the background UI associated with the current instance of the BackgroundUIProvider.

C#
public Rectangle BackgroundUI { get; }

Gets the bounding rectangle for the background UI provider, which defines the area for rendering backgrounds.

C#
public RectangleF BoundingRectangle { get; }
Property Value:

A Rect structure representing the dimensions of the bounding rectangle.

Implements: IUIProvider.BoundingRectangle

Gets the containing layer for the background UI provider.

C#
public IUILayer ContainingLayer { get; set; }
Property Value:

The layer that contains the background UI elements.

Implements: IUIProvider.ContainingLayer

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.

C#
public UILayerUpdateContext CurrentUpdateContext { get; }

Gets a value indicating whether the background UI provider is invalidated.

C#
public bool IsInvalidated { get; protected set; }

Implements: IUIProvider.IsInvalidated

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

C#
public bool IsRemoved { get; }

Implements: IUIProvider.IsRemoved

Represents a layout box used by the BackgroundUIProvider to manage the arrangement of UI elements.

C#
public LayoutBox LayoutBox { get; }

Methods

Arranges the background UI elements based on the specified update context.

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

The update context containing information about the UI layer updates.

Implements: IUIProvider.Arrange(UILayerUpdateContext)

Retrieves the UI elements associated with the specified update context.

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

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: IUIProvider.GetUIElements(UILayerUpdateContext)

Releases the elements managed by the BackgroundUIProvider.

C#
public void ReleaseElements()

Implements: IUIProvider.ReleaseElements()

Updates the user interface elements based on the specified update context.

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

The context containing the information needed to update the UI elements.

Implements: IUIProvider.UpdateUI(UILayerUpdateContext)