ClassShapeAdornerUI
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
ShapeAdornerUI()
Declaration
public ShapeAdornerUI()
Properties
CanDrag
Determines whether the shape adorner can be dragged.
CanResize
Gets a value indicating whether the shape can be resized.
CanRotate
Gets a value indicating whether the shape adorner can be rotated.
ImageSelectionAdornerSettings
Represents the settings for the image selection adorner in the Shape Adorner UI.
Declaration
public ImageSelectionAdornerSettings ImageSelectionAdornerSettings { get; set; }
Property Value
LastMouseDownArgs
Gets the arguments associated with the last mouse down event within the Shape Adorner UI.
Declaration
public MouseButtonEventArgs LastMouseDownArgs { get; set; }
Property Value
MouseButtonEventArgs
Methods
GetLayoutClip(Size)
Declaration
protected override Geometry GetLayoutClip(Size layoutSlotSize)
Parameters
layoutSlotSize
Size
Returns
Geometry
GetUIElement()
Retrieves the UI element associated with the ShapeAdorner.
Declaration
public UIElement GetUIElement()
Returns
UIElement
The UI element of type UIElement representing the shape adorner.
Implements
HideSelection()
Hides the selection of the shape adorner.
Declaration
public void HideSelection()
Implements
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
SetClip(Geometry)
Sets the clipping geometry for the Shape Adorner UI.
Declaration
public void SetClip(Geometry geometry)
Parameters
geometry
Geometry
A Geometry that defines the clipping area.
ShouldStartDragging(Inline)
Determines whether the dragging operation should start for the specified inline element.
ShowInlineSelection(Inline, bool)
Displays the inline selection for the specified inline element.
Events
BlockMoved
Declaration
public event EventHandler<BlockMovedEventArgs> BlockMoved
Event Value
ShapeResized
Declaration
public event EventHandler<ShapeResizedEventArgs> ShapeResized
Event Value
ShapeRotated
Declaration
public event EventHandler<ShapeRotatedEventArgs> ShapeRotated
Event Value