DrawingUIProvider
Provides UI elements for drawing operations in a Telerik application.
Definition
Namespace:Telerik.Windows.Documents.UI.UIProviders
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public abstract class DrawingUIProvider : HyperlinkUIProviderBase, IUIProvider
Inheritance: objectHyperlinkUIProviderBaseDrawingUIProvider
Derived Classes:
Implements:
Inherited Members
Constructors
Properties
Gets the bounding rectangle of the Drawing UI provider, which represents the area occupied by the UI elements.
public override RectangleF BoundingRectangle { get; }
Overrides:
Gets the current update context for the Drawing UI Provider. This context holds information about the current state of updates in the drawing components.
public override UILayerUpdateContext CurrentUpdateContext { get; }
Overrides:
protected DrawingLayoutBox DrawingBox { get; }
DrawingControl
FrameworkElement
Represents the DrawingControl used for rendering and interacting with drawing elements in the UI.
public FrameworkElement DrawingControl { get; set; }
Represents a hyperlink inline element in the drawing UI provider.
public override Inline HyperlinkInline { get; }
Overrides:
Gets a value indicating whether the UI provider is invalidated.
public override bool IsInvalidated { get; }
Overrides:
Gets a value indicating whether the Drawing UI Provider has been removed.
public override bool IsRemoved { get; }
Overrides:
protected bool IsUIElementRegisteredAsHyperlink { get; set; }
UIElement
FrameworkElement
Represents a UI element for drawing within the Telerik Windows Documents UI framework.
public override FrameworkElement UIElement { get; }
Overrides:
Methods
Arranges the drawing elements within the specified UI layer update context.
public override void Arrange(UILayerUpdateContext uILayerUpdateContext)
The context that contains information about the UI layer update.
Overrides:
CreateDrawingControl()
FrameworkElement
protected abstract FrameworkElement CreateDrawingControl()
FrameworkElement
Retrieves a collection of UI elements associated with the specified update context.
public override IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The context that provides information about the UI layer update.
Returns:IEnumerable<UIElement>
A collection of UI elements related to the provided update context.
Overrides:
protected void RegisterControl(FrameworkElement result)
Releases the resources used by the drawing UI provider, cleaning up any elements that are no longer needed.
public override void ReleaseElements()
Overrides:
protected abstract void UpdateRecycledUIElement()