ShapeAdornerUI
ShapeAdornerUI
Definition
Namespace:Telerik.Windows.Documents.UI.Adorner
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ShapeAdornerUI : UserControl, IInlineSelectionHandler, IComponentConnector
Inheritance: objectShapeAdornerUI
Implements:
Constructors
public ShapeAdornerUI()
Properties
Gets a value indicating whether the shape can be resized.
public bool CanResize { get; set; }
Gets a value indicating whether the shape adorner can be rotated.
public bool CanRotate { get; set; }
Represents the settings for the image selection adorner in the Shape Adorner UI.
public ImageSelectionAdornerSettings ImageSelectionAdornerSettings { get; set; }
LastMouseDownArgs
MouseButtonEventArgs
Gets the arguments associated with the last mouse down event within the Shape Adorner UI.
public MouseButtonEventArgs LastMouseDownArgs { get; set; }
Methods
GetLayoutClip(Size)
Geometry
protected override Geometry GetLayoutClip(Size layoutSlotSize)
Geometry
GetUIElement()
UIElement
Retrieves the UI element associated with the ShapeAdorner.
public UIElement GetUIElement()
UIElement
The UI element of type UIElement representing the shape adorner.
Implements:
Hides the selection of the shape adorner.
public void HideSelection()
Implements:
InitializeComponent
public void InitializeComponent()
Sets the clipping geometry for the Shape Adorner UI.
public void SetClip(Geometry geometry)
A Geometry that defines the clipping area.
Displays the inline selection for the specified inline element.
Events
public event EventHandler<BlockMovedEventArgs> BlockMoved
public event EventHandler<ShapeResizedEventArgs> ShapeResized
public event EventHandler<ShapeRotatedEventArgs> ShapeRotated