Class
DiagramExtensionProperties

Static class for additional customization of Diagram Items behavior.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions

Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax:

cs-api-definition
public static class DiagramExtensionProperties

Inheritance: objectDiagramExtensionProperties

Fields

HasImageShapesProperty

Identifies the HasImageShapes attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty HasImageShapesProperty

Field Value

DependencyProperty

ShouldDetachConnectionsProperty

Identifies the ShouldDetachConnections attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShouldDetachConnectionsProperty

Field Value

DependencyProperty

Methods

GetHasImageShapes(DependencyObject)

Gets the has image shapes.

Declaration

cs-api-definition
public static bool GetHasImageShapes(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

bool

GetShouldDetachConnections(DependencyObject)

Gets the ShouldDetachConnections attached property.

  • If set to true connections will be detached when rotated or dragged in multi selection.

Declaration

cs-api-definition
public static bool GetShouldDetachConnections(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

bool

SetHasImageShapes(DependencyObject, bool)

Sets the has image shapes.

Declaration

cs-api-definition
public static void SetHasImageShapes(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

The object.

value

bool

If set to true [value].

SetShouldDetachConnections(DependencyObject, bool)

Sets the ShouldDetachConnections attached property.

  • If set to true connections will be detached when rotated or dragged in multi selection.

Declaration

cs-api-definition
public static void SetShouldDetachConnections(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

value

bool