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

Provides the user interface elements for managing floating drawings within Telerik's document viewer.

Definition

Namespace:Telerik.Windows.Documents.UI.UIProviders

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public abstract class FloatingDrawingUIProvider : IUIProvider

Inheritance: objectFloatingDrawingUIProvider

Derived Classes: FloatingImageUIProvider

Implements: IUIProvider

Constructors

C#
public FloatingDrawingUIProvider(FloatingBlockLayoutBox floatingBox)
Parameters:floatingBoxFloatingBlockLayoutBox

Properties

Gets the bounding rectangle of the floating drawing elements in the document.

C#
public RectangleF BoundingRectangle { get; }

Implements: IUIProvider.BoundingRectangle

Gets the layer that contains the floating drawing elements.

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

The containing layer as a IUILayer instance.

Implements: IUIProvider.ContainingLayer

Gets the current update context for the FloatingDrawingUIProvider. This property provides access to the context used during updates, allowing for the management and modification of drawing elements.

C#
public UILayerUpdateContext CurrentUpdateContext { get; protected set; }

Represents the drawing box provided by the FloatingDrawingUIProvider, which encapsulates the functionality for handling drawing elements within the user interface.

C#
public DrawingLayoutBox DrawingBox { get; protected set; }

Element

UIElement

Represents the element associated with the FloatingDrawingUIProvider, which is responsible for handling user interface interactions related to floating drawings in the document.

C#
public UIElement Element { get; protected set; }

Represents a floating box in the FloatingDrawingUIProvider, which is used for managing the positioning and appearance of floating drawings in the user interface.

C#
public FloatingBlockLayoutBox FloatingBox { get; protected set; }

Gets a value indicating whether the FloatingDrawingUIProvider is invalidated.

C#
public bool IsInvalidated { get; }

Implements: IUIProvider.IsInvalidated

Gets a value indicating whether the floating drawing UI provider has been removed.

C#
public bool IsRemoved { get; }

Implements: IUIProvider.IsRemoved

Methods

Arranges the floating drawing UI elements within the specified update context.

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

The update context that contains information about the layer updates.

Implements: IUIProvider.Arrange(UILayerUpdateContext)

C#
protected abstract UIElement CreateUIElement()
Returns:

UIElement

Retrieves the user interface elements for floating drawings.

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

The context that contains information about the updates to the UI layer.

Returns:

IEnumerable<UIElement>

A collection of UI elements representing the floating drawings.

Implements: IUIProvider.GetUIElements(UILayerUpdateContext)

Releases any resources or elements associated with the FloatingDrawingUIProvider.

C#
public void ReleaseElements()

Implements: IUIProvider.ReleaseElements()

C#
protected abstract void UpdateRecycledUIElement()

Updates the user interface elements associated with floating drawings.

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

Implements: IUIProvider.UpdateUI(UILayerUpdateContext)