ClassDrawingUIProvider
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
DrawingUIProvider(DrawingLayoutBox)
Declaration
public DrawingUIProvider(DrawingLayoutBox drawingBox)
Parameters
drawingBox
Properties
BoundingRectangle
Gets the bounding rectangle of the Drawing UI provider, which represents the area occupied by the UI elements.
Declaration
public override RectangleF BoundingRectangle { get; }
Property Value
Overrides
CurrentUpdateContext
Gets the current update context for the Drawing UI Provider. This context holds information about the current state of updates in the drawing components.
Declaration
public UILayerUpdateContext CurrentUpdateContext { get; }
Property Value
DrawingBox
Declaration
protected DrawingLayoutBox DrawingBox { get; }
Property Value
DrawingControl
Represents the DrawingControl used for rendering and interacting with drawing elements in the UI.
Declaration
public FrameworkElement DrawingControl { get; set; }
Property Value
FrameworkElement
HyperlinkInline
Represents a hyperlink inline element in the drawing UI provider.
Declaration
public override Inline HyperlinkInline { get; }
Property Value
Overrides
IsInvalidated
Gets a value indicating whether the UI provider is invalidated.
Declaration
public override bool IsInvalidated { get; }
Property Value
Overrides
IsRemoved
Gets a value indicating whether the Drawing UI Provider has been removed.
IsUIElementRegisteredAsHyperlink
Declaration
protected bool IsUIElementRegisteredAsHyperlink { get; set; }
Property Value
UIElement
Represents a UI element for drawing within the Telerik Windows Documents UI framework.
Declaration
public override FrameworkElement UIElement { get; }
Property Value
FrameworkElement
Overrides
Methods
Arrange(UILayerUpdateContext)
Arranges the drawing elements within the specified UI layer update context.
Declaration
public override void Arrange(UILayerUpdateContext uILayerUpdateContext)
Parameters
uILayerUpdateContext
The context that contains information about the UI layer update.
Overrides
CreateDrawingControl()
Declaration
protected abstract FrameworkElement CreateDrawingControl()
Returns
FrameworkElement
GetUIElements(UILayerUpdateContext)
Retrieves a collection of UI elements associated with the specified update context.
Declaration
public override IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
Parameters
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
RegisterControl(FrameworkElement)
Declaration
protected void RegisterControl(FrameworkElement result)
Parameters
result
FrameworkElement
ReleaseElements()
Releases the resources used by the drawing UI provider, cleaning up any elements that are no longer needed.
Declaration
public override void ReleaseElements()
Overrides
UpdateRecycledUIElement()
Declaration
protected abstract void UpdateRecycledUIElement()