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 ManipulationAdorner class.
Declaration
public ManipulationAdorner()
Fields
IsResizingEnabledProperty
Identifies the IsResizingEnabled dependency property.
Declaration
public static readonly DependencyProperty IsResizingEnabledProperty
Field Value
System.Windows.DependencyProperty
|
IsRotationEnabledProperty
Identifies the IsRotationEnabled dependency property.
Declaration
public static readonly DependencyProperty IsRotationEnabledProperty
Field Value
System.Windows.DependencyProperty
|
IsScalingEnabledProperty
Identifies the IsScalingEnabledProperty dependency property.
Declaration
public static readonly DependencyProperty IsScalingEnabledProperty
Field Value
System.Windows.DependencyProperty
|
ResizeActivationRadiusProperty
Identifies the ResizeActivationRadius dependency property.
Declaration
public static readonly DependencyProperty ResizeActivationRadiusProperty
Field Value
System.Windows.DependencyProperty
|
RotateHitTestRadiusProperty
Identifies the RotateHitTestRadius dependency property.
Declaration
public static readonly DependencyProperty RotateHitTestRadiusProperty
Field Value
System.Windows.DependencyProperty
|
ZoomLevelProperty
Identifies the ZoomLevel dependency property.
Declaration
public static readonly DependencyProperty ZoomLevelProperty
Field Value
System.Windows.DependencyProperty
|
Properties
IsResizingEnabled
Gets or sets a value indicating whether resizing is enabled.
Declaration
public bool IsResizingEnabled { get; set; }
Property Value
System.Boolean
|
IsRotationEnabled
Gets or sets a value indicating whether rotation is enabled.
Declaration
public bool IsRotationEnabled { get; set; }
Property Value
System.Boolean
|
IsScalingEnabled
Gets or sets whether the scaling is enabled.
Declaration
public bool IsScalingEnabled { get; set; }
Property Value
System.Boolean
The is scaling enabled. |
ResizeActivationRadius
Gets or sets the resize handles activation radius.
Declaration
public double ResizeActivationRadius { get; set; }
Property Value
System.Double
|
RotateHitTestRadius
Gets or sets the rotate handle activation radius.
Declaration
public double RotateHitTestRadius { get; set; }
Property Value
System.Double
|
ZoomLevel
Gets or sets the zoom level.
Declaration
public double ZoomLevel { get; set; }
Property Value
System.Double
The zoom level. |
Methods
GetRenderTransformOrigin()
Gets the bounds of the rotation handle.
Declaration
public virtual Point GetRenderTransformOrigin()
Returns
System.Windows.Point
|
Implements
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
Overrides
Update(IEnumerable<Object>, Boolean)
Updates the specified items.
Declaration
public void Update(IEnumerable<object> items, bool show)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
items
The items. |
System.Boolean
show
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.Boolean
forceRecalculation
|
Returns
System.Windows.Point
|
Implements
IAdornerPartResolver.GetBottomRightResizeHandleOffset(Boolean)
Gets the bounds of the bottom right resize handle.
Declaration
Point IAdornerPartResolver.GetBottomRightResizeHandleOffset(bool forceRecalculation)
Parameters
System.Boolean
forceRecalculation
|
Returns
System.Windows.Point
|
Implements
IAdornerPartResolver.GetResizeActivationRadius()
Gets the resize handles activation radius.
Declaration
double IAdornerPartResolver.GetResizeActivationRadius()
Returns
System.Double
|
Implements
IAdornerPartResolver.GetRotateActivationRadius()
Gets the rotate handle activation radius.
Declaration
double IAdornerPartResolver.GetRotateActivationRadius()
Returns
System.Double
|
Implements
IAdornerPartResolver.GetRotationElementBounds(Boolean)
Gets the bounds of the rotation handle.
Declaration
Rect IAdornerPartResolver.GetRotationElementBounds(bool forceRecalculation)
Parameters
System.Boolean
forceRecalculation
|
Returns
System.Windows.Rect
|
Implements
IAdornerPartResolver.GetRotationElementOffset(Boolean)
Gets the offset of the rotation handle relative to top center point.
Declaration
Point IAdornerPartResolver.GetRotationElementOffset(bool forceRecalculation)
Parameters
System.Boolean
forceRecalculation
|
Returns
System.Windows.Point
|
Implements
IAdornerPartResolver.GetTopLeftResizeHandleOffset(Boolean)
Gets the bounds of the top left resize handle.
Declaration
Point IAdornerPartResolver.GetTopLeftResizeHandleOffset(bool forceRecalculation)
Parameters
System.Boolean
forceRecalculation
|
Returns
System.Windows.Point
|
Implements
IAdornerPartResolver.GetTopRightResizeHandleOffset(Boolean)
Gets the bounds of the top right resize handle.
Declaration
Point IAdornerPartResolver.GetTopRightResizeHandleOffset(bool forceRecalculation)
Parameters
System.Boolean
forceRecalculation
|
Returns
System.Windows.Point
|