ClassFloatingDrawingUIProvider
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
FloatingDrawingUIProvider(FloatingBlockLayoutBox)
Declaration
public FloatingDrawingUIProvider(FloatingBlockLayoutBox floatingBox)
Parameters
floatingBox
Properties
BoundingRectangle
Gets the bounding rectangle of the floating drawing elements in the document.
Declaration
public RectangleF BoundingRectangle { get; }
Property Value
Implements
ContainingLayer
Gets the layer that contains the floating drawing elements.
CurrentUpdateContext
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.
Declaration
public UILayerUpdateContext CurrentUpdateContext { get; protected set; }
Property Value
DrawingBox
Represents the drawing box provided by the FloatingDrawingUIProvider, which encapsulates the functionality for handling drawing elements within the user interface.
Declaration
public DrawingLayoutBox DrawingBox { get; protected set; }
Property Value
Element
Represents the element associated with the FloatingDrawingUIProvider, which is responsible for handling user interface interactions related to floating drawings in the document.
Declaration
public UIElement Element { get; protected set; }
Property Value
UIElement
FloatingBox
Represents a floating box in the FloatingDrawingUIProvider, which is used for managing the positioning and appearance of floating drawings in the user interface.
Declaration
public FloatingBlockLayoutBox FloatingBox { get; protected set; }
Property Value
IsInvalidated
Gets a value indicating whether the FloatingDrawingUIProvider is invalidated.
Methods
Arrange(UILayerUpdateContext)
Arranges the floating drawing UI elements within the specified update context.
Declaration
public void Arrange(UILayerUpdateContext uILayerUpdateContext)
Parameters
uILayerUpdateContext
The update context that contains information about the layer updates.
Implements
CreateUIElement()
Declaration
protected abstract UIElement CreateUIElement()
Returns
UIElement
GetUIElements(UILayerUpdateContext)
Retrieves the user interface elements for floating drawings.
Declaration
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
Parameters
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
ReleaseElements()
Releases any resources or elements associated with the FloatingDrawingUIProvider.
Declaration
public void ReleaseElements()
Implements
UpdateRecycledUIElement()
Declaration
protected abstract void UpdateRecycledUIElement()
UpdateUI(UILayerUpdateContext)
Updates the user interface elements associated with floating drawings.
Declaration
public abstract void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
Parameters
uILayerUpdateContext
Implements