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

Global constants.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

C#
public static class DiagramConstants

Inheritance: objectDiagramConstants

Properties

Set of all allowed serialization types. By default, the specific UI product should define all allowed default types. For example in WPF these are all UI container types - shapes, connections, connectors.

C#
public static HashSet<Type> AllowedSerializationTypes { get; }

Gets or sets the default offset when the Bezier handles are automatically calculated according to the connector's position.

C#
public static double BezierAutoOffset { get; set; }

Gets or sets the connection corner radius.

C#
public static double ConnectionCornerRadius { get; set; }
Property Value:

The connection corner radius.

The distance, within which the shape's connectors are visible.

C#
public static double ConnectorActivationRadius { get; set; }

The radius around connector where connection can attach.

C#
public static double ConnectorHitTestRadius { get; set; }

Gets or sets the container margin.

C#
public static double ContainerMargin { get; set; }

Gets or sets the radius of the connection bridge or gap.

C#
public static double CrossingRadius { get; set; }

The maximum zoom level.

C#
public static double MaximumZoom { get; set; }

The minimum size of the item adorner.

C#
public static double MinimumAdornerSize { get; set; }

The minimum distance from a connection to a given shape so that snapping occurs.

C#
public static double MinimumShapeDistanceOnConnectionManipulationSnap { get; set; }

The minimum size of item.

C#
public static double MinimumShapeSize { get; set; }

The minimum zoom level.

C#
public static double MinimumZoom { get; set; }

Gets or sets the snapping angle when rotating items.

C#
public static double RotationAngleSnap { get; set; }

The value around the shapes, which the router inflates the shapes with if implemented.

C#
public static double RouterInflationValue { get; set; }
Remarks:

This property is used by the InflatedRectRouter and the AStarRouter.

The routing grid size.

C#
public static double RoutingGridSize { get; set; }

Safe serialization assemblies stored as [AssemblyName - PublicKeyToken] pairs. If no token is set, assembly is considered safe. If token is set, it must match the public key token of the assembly of the type that is currently being deserialized.

C#
public static Dictionary<string, string> SafeSerializationAssemblies { get; }

Gets the segment step.

C#
public static int SegmentStep { get; set; }

The distance around each item which is considered selectable.

C#
public static double SelectionHitTestRadius { get; set; }

The margin around the selected shapes.

C#
public static double SelectionRectInflationValue { get; set; }

The minimum distance to start a drag action.

C#
public static double StartDragDelta { get; set; }

The default zooming factor. The factor is used as a multiplier or divider to produce the new zoom.

C#
public static double ZoomScaleFactor { get; set; }