Class
DiagramConstants

Global constants.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public static class DiagramConstants

Inheritance: objectDiagramConstants

Properties

AllowedSerializationTypes

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.

Declaration

cs-api-definition
public static HashSet<Type> AllowedSerializationTypes { get; }

Property Value

HashSet<Type>

BezierAutoOffset

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

Declaration

cs-api-definition
public static double BezierAutoOffset { get; set; }

Property Value

double

ConnectionCornerRadius

Gets or sets the connection corner radius.

Declaration

cs-api-definition
public static double ConnectionCornerRadius { get; set; }

Property Value

double

The connection corner radius.

ConnectorActivationRadius

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

Declaration

cs-api-definition
public static double ConnectorActivationRadius { get; set; }

Property Value

double

ConnectorHitTestRadius

The radius around connector where connection can attach.

Declaration

cs-api-definition
public static double ConnectorHitTestRadius { get; set; }

Property Value

double

ContainerMargin

Gets or sets the container margin.

Declaration

cs-api-definition
public static double ContainerMargin { get; set; }

Property Value

double

CrossingRadius

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

Declaration

cs-api-definition
public static double CrossingRadius { get; set; }

Property Value

double

MaximumZoom

The maximum zoom level.

Declaration

cs-api-definition
public static double MaximumZoom { get; set; }

Property Value

double

MinimumAdornerSize

The minimum size of the item adorner.

Declaration

cs-api-definition
public static double MinimumAdornerSize { get; set; }

Property Value

double

MinimumShapeDistanceOnConnectionManipulationSnap

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

Declaration

cs-api-definition
public static double MinimumShapeDistanceOnConnectionManipulationSnap { get; set; }

Property Value

double

MinimumShapeSize

The minimum size of item.

Declaration

cs-api-definition
public static double MinimumShapeSize { get; set; }

Property Value

double

MinimumZoom

The minimum zoom level.

Declaration

cs-api-definition
public static double MinimumZoom { get; set; }

Property Value

double

RotationAngleSnap

Gets or sets the snapping angle when rotating items.

Declaration

cs-api-definition
public static double RotationAngleSnap { get; set; }

Property Value

double

RouterInflationValue

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

Declaration

cs-api-definition
public static double RouterInflationValue { get; set; }

Property Value

double

Remarks

This property is used by the InflatedRectRouter and the AStarRouter.

RoutingGridSize

The routing grid size.

Declaration

cs-api-definition
public static double RoutingGridSize { get; set; }

Property Value

double

SafeSerializationAssemblies

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.

Declaration

cs-api-definition
public static Dictionary<string, string> SafeSerializationAssemblies { get; }

Property Value

Dictionary<string, string>

SegmentStep

Gets the segment step.

Declaration

cs-api-definition
public static int SegmentStep { get; set; }

Property Value

int

SelectionHitTestRadius

The distance around each item which is considered selectable.

Declaration

cs-api-definition
public static double SelectionHitTestRadius { get; set; }

Property Value

double

SelectionRectInflationValue

The margin around the selected shapes.

Declaration

cs-api-definition
public static double SelectionRectInflationValue { get; set; }

Property Value

double

StartDragDelta

The minimum distance to start a drag action.

Declaration

cs-api-definition
public static double StartDragDelta { get; set; }

Property Value

double

ZoomScaleFactor

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

Declaration

cs-api-definition
public static double ZoomScaleFactor { get; set; }

Property Value

double