ClassDiagramExtensionProperties
Static class for additional customization of Diagram Items behavior.
Definition
Namespace:Telerik.Windows.Controls.Diagrams.Extensions
Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll
Syntax:
public static class DiagramExtensionProperties
Inheritance: objectDiagramExtensionProperties
Fields
HasImageShapesProperty
Identifies the HasImageShapes attached property.
Declaration
public static readonly DependencyProperty HasImageShapesProperty
Field Value
DependencyProperty
ShouldDetachConnectionsProperty
Identifies the ShouldDetachConnections attached property.
Declaration
public static readonly DependencyProperty ShouldDetachConnectionsProperty
Field Value
DependencyProperty
Methods
GetHasImageShapes(DependencyObject)
Gets the has image shapes.
Declaration
public static bool GetHasImageShapes(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
GetShouldDetachConnections(DependencyObject)
Gets the ShouldDetachConnections attached property.
- If set to
trueconnections will be detached when rotated or dragged in multi selection.
Declaration
public static bool GetShouldDetachConnections(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
SetHasImageShapes(DependencyObject, bool)
Sets the has image shapes.
Declaration
public static void SetHasImageShapes(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
The object.
value
If set to true [value].
SetShouldDetachConnections(DependencyObject, bool)
Sets the ShouldDetachConnections attached property.
- If set to
trueconnections will be detached when rotated or dragged in multi selection.
Declaration
public static void SetShouldDetachConnections(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
value