Class ManipulationAdorner
Represents a manipulation adorner.
Inherited Members
Namespace: Telerik.Windows.Controls.Diagrams.Primitives
Assembly: Telerik.Windows.Controls.Diagrams.dll
Syntax
public class ManipulationAdorner : DiagramAdornerBase, IThemable, IAdornerPartResolver
Constructors
ManipulationAdorner()
Initializes a new instance of the Manipulation
Declaration
public ManipulationAdorner()
Fields
IsResizingEnabledProperty
Identifies the IsResizingEnabled dependency property.
Declaration
public static readonly DependencyProperty IsResizingEnabledProperty
Field Value
System.
|
IsRotationEnabledProperty
Identifies the IsRotationEnabled dependency property.
Declaration
public static readonly DependencyProperty IsRotationEnabledProperty
Field Value
System.
|
IsScalingEnabledProperty
Identifies the IsScalingEnabledProperty dependency property.
Declaration
public static readonly DependencyProperty IsScalingEnabledProperty
Field Value
System.
|
ResizeActivationRadiusProperty
Identifies the ResizeActivationRadius dependency property.
Declaration
public static readonly DependencyProperty ResizeActivationRadiusProperty
Field Value
System.
|
RotateHitTestRadiusProperty
Identifies the RotateHitTestRadius dependency property.
Declaration
public static readonly DependencyProperty RotateHitTestRadiusProperty
Field Value
System.
|
ZoomLevelProperty
Identifies the ZoomLevel dependency property.
Declaration
public static readonly DependencyProperty ZoomLevelProperty
Field Value
System.
|
Properties
IsResizingEnabled
Gets or sets a value indicating whether resizing is enabled.
Declaration
public bool IsResizingEnabled { get; set; }
Property Value
System.
|
IsRotationEnabled
Gets or sets a value indicating whether rotation is enabled.
Declaration
public bool IsRotationEnabled { get; set; }
Property Value
System.
|
IsScalingEnabled
Gets or sets whether the scaling is enabled.
Declaration
public bool IsScalingEnabled { get; set; }
Property Value
System. The is scaling enabled. |
ResizeActivationRadius
Gets or sets the resize handles activation radius.
Declaration
public double ResizeActivationRadius { get; set; }
Property Value
System.
|
RotateHitTestRadius
Gets or sets the rotate handle activation radius.
Declaration
public double RotateHitTestRadius { get; set; }
Property Value
System.
|
ZoomLevel
Gets or sets the zoom level.
Declaration
public double ZoomLevel { get; set; }
Property Value
System. The zoom level. |
Methods
GetRenderTransformOrigin()
Gets the bounds of the rotation handle.
Declaration
public virtual Point GetRenderTransformOrigin()
Returns
System.
|
Implements
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call
System.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
Overrides
Update(IEnumerable<Object>, Boolean)
Updates the specified items.
Declaration
public void Update(IEnumerable<object> items, bool show)
Parameters
System. The items. |
System. If set to |
Explicit Interface Implementations
IAdornerPartResolver.GetBottomLeftResizeHandleOffset(Boolean)
Gets the bounds of the bottom left resize handle.
Declaration
Point IAdornerPartResolver.GetBottomLeftResizeHandleOffset(bool forceRecalculation)
Parameters
System.
|
Returns
System.
|
Implements
IAdornerPartResolver.GetBottomRightResizeHandleOffset(Boolean)
Gets the bounds of the bottom right resize handle.
Declaration
Point IAdornerPartResolver.GetBottomRightResizeHandleOffset(bool forceRecalculation)
Parameters
System.
|
Returns
System.
|
Implements
IAdornerPartResolver.GetResizeActivationRadius()
Gets the resize handles activation radius.
Declaration
double IAdornerPartResolver.GetResizeActivationRadius()
Returns
System.
|
Implements
IAdornerPartResolver.GetRotateActivationRadius()
Gets the rotate handle activation radius.
Declaration
double IAdornerPartResolver.GetRotateActivationRadius()
Returns
System.
|
Implements
IAdornerPartResolver.GetRotationElementBounds(Boolean)
Gets the bounds of the rotation handle.
Declaration
Rect IAdornerPartResolver.GetRotationElementBounds(bool forceRecalculation)
Parameters
System.
|
Returns
System.
|
Implements
IAdornerPartResolver.GetRotationElementOffset(Boolean)
Gets the offset of the rotation handle relative to top center point.
Declaration
Point IAdornerPartResolver.GetRotationElementOffset(bool forceRecalculation)
Parameters
System.
|
Returns
System.
|
Implements
IAdornerPartResolver.GetTopLeftResizeHandleOffset(Boolean)
Gets the bounds of the top left resize handle.
Declaration
Point IAdornerPartResolver.GetTopLeftResizeHandleOffset(bool forceRecalculation)
Parameters
System.
|
Returns
System.
|
Implements
IAdornerPartResolver.GetTopRightResizeHandleOffset(Boolean)
Gets the bounds of the top right resize handle.
Declaration
Point IAdornerPartResolver.GetTopRightResizeHandleOffset(bool forceRecalculation)
Parameters
System.
|
Returns
System.
|