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

Provides UI elements for drawing operations in a Telerik application.

Definition

Constructors

C#
public DrawingUIProvider(DrawingLayoutBox drawingBox)
Parameters:drawingBoxDrawingLayoutBox

Properties

Gets the bounding rectangle of the Drawing UI provider, which represents the area occupied by the UI elements.

C#
public override RectangleF BoundingRectangle { get; }

Overrides: HyperlinkUIProviderBase.BoundingRectangle

Gets the current update context for the Drawing UI Provider. This context holds information about the current state of updates in the drawing components.

C#
public override UILayerUpdateContext CurrentUpdateContext { get; }

Overrides: HyperlinkUIProviderBase.CurrentUpdateContext

C#
protected DrawingLayoutBox DrawingBox { get; }

DrawingControl

FrameworkElement

Represents the DrawingControl used for rendering and interacting with drawing elements in the UI.

C#
public FrameworkElement DrawingControl { get; set; }

Represents a hyperlink inline element in the drawing UI provider.

C#
public override Inline HyperlinkInline { get; }

Overrides: HyperlinkUIProviderBase.HyperlinkInline

Gets a value indicating whether the UI provider is invalidated.

C#
public override bool IsInvalidated { get; }

Overrides: HyperlinkUIProviderBase.IsInvalidated

Gets a value indicating whether the Drawing UI Provider has been removed.

C#
public override bool IsRemoved { get; }

Overrides: HyperlinkUIProviderBase.IsRemoved

C#
protected bool IsUIElementRegisteredAsHyperlink { get; set; }

UIElement

FrameworkElement

Represents a UI element for drawing within the Telerik Windows Documents UI framework.

C#
public override FrameworkElement UIElement { get; }

Overrides: HyperlinkUIProviderBase.UIElement

Methods

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

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

The context that contains information about the UI layer update.

Overrides: HyperlinkUIProviderBase.Arrange(UILayerUpdateContext)

CreateDrawingControl()

FrameworkElement

C#
protected abstract FrameworkElement CreateDrawingControl()
Returns:

FrameworkElement

C#
protected abstract SizeF GetDrawingSize()
Returns:

SizeF

Retrieves a collection of UI elements associated with the specified update context.

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

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: HyperlinkUIProviderBase.GetUIElements(UILayerUpdateContext)

C#
protected void RegisterControl(FrameworkElement result)
Parameters:resultFrameworkElement

Releases the resources used by the drawing UI provider, cleaning up any elements that are no longer needed.

C#
public override void ReleaseElements()

Overrides: HyperlinkUIProviderBase.ReleaseElements()

C#
protected abstract void UpdateRecycledUIElement()