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

Provides UI-related functionalities for shapes within the document interface.

Definition

Constructors

C#
public ShapeUIProvider(ShapeLayoutBox shapeBox)
Parameters:shapeBoxShapeLayoutBox

Properties

Represents a shape box within the ShapeUIProvider, which is responsible for managing the visual representation and behavior of shapes in the UI.

C#
public ShapeLayoutBox ShapeBox { get; }

Methods

CreateDrawingControl()

FrameworkElement

C#
protected override FrameworkElement CreateDrawingControl()
Returns:

FrameworkElement

Overrides: DrawingUIProvider.CreateDrawingControl()

C#
protected override SizeF GetDrawingSize()
Returns:

SizeF

Overrides: DrawingUIProvider.GetDrawingSize()

C#
protected override void UpdateRecycledUIElement()

Overrides: DrawingUIProvider.UpdateRecycledUIElement()

Updates the user interface elements associated with the shape provider.

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

The context containing information for updating the UI layer.

Overrides: HyperlinkUIProviderBase.UpdateUI(UILayerUpdateContext)