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:
public abstract class FloatingDrawingUIProvider : IUIProvider
Inheritance: objectFloatingDrawingUIProvider
Derived Classes:
Implements:
Constructors
public FloatingDrawingUIProvider(FloatingBlockLayoutBox floatingBox)
Properties
Gets the bounding rectangle of the floating drawing elements in the document.
public RectangleF BoundingRectangle { get; }
Implements:
Gets the layer that contains the floating drawing elements.
public IUILayer ContainingLayer { get; set; }
The containing layer as a IUILayer instance.
Implements:
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.
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.
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.
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.
public FloatingBlockLayoutBox FloatingBox { get; protected set; }
Gets a value indicating whether the FloatingDrawingUIProvider is invalidated.
public bool IsInvalidated { get; }
Implements:
Methods
Arranges the floating drawing UI elements within the specified update context.
public void Arrange(UILayerUpdateContext uILayerUpdateContext)
The update context that contains information about the layer updates.
Implements:
CreateUIElement()
UIElement
protected abstract UIElement CreateUIElement()
UIElement
Retrieves the user interface elements for floating drawings.
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
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:
Releases any resources or elements associated with the FloatingDrawingUIProvider.
public void ReleaseElements()
Implements:
protected abstract void UpdateRecycledUIElement()
Updates the user interface elements associated with floating drawings.
public abstract void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
Implements: