New to Telerik UI for WPFStart a free 30-day trial

Static class for additional customization of Diagram Items behavior.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions

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

Syntax:

C#
public static class DiagramExtensionProperties

Inheritance: objectDiagramExtensionProperties

Fields

HasImageShapesProperty

DependencyProperty

Identifies the HasImageShapes attached property.

C#
public static readonly DependencyProperty HasImageShapesProperty

Identifies the ShouldDetachConnections attached property.

C#
public static readonly DependencyProperty ShouldDetachConnectionsProperty

Methods

Gets the has image shapes.

C#
public static bool GetHasImageShapes(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

bool

Gets the ShouldDetachConnections attached property.

  • If set to true connections will be detached when rotated or dragged in multi selection.
C#
public static bool GetShouldDetachConnections(DependencyObject obj)
Parameters:objDependencyObjectReturns:

bool

Sets the has image shapes.

C#
public static void SetHasImageShapes(DependencyObject obj, bool value)
Parameters:objDependencyObject

The object.

valuebool

If set to true [value].

Sets the ShouldDetachConnections attached property.

  • If set to true connections will be detached when rotated or dragged in multi selection.
C#
public static void SetShouldDetachConnections(DependencyObject obj, bool value)
Parameters:objDependencyObjectvaluebool