DiagramConstants
Global constants.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
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.
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.
public static double BezierAutoOffset { get; set; }
Gets or sets the connection corner radius.
public static double ConnectionCornerRadius { get; set; }
The connection corner radius.
The distance, within which the shape's connectors are visible.
public static double ConnectorActivationRadius { get; set; }
The radius around connector where connection can attach.
public static double ConnectorHitTestRadius { get; set; }
Gets or sets the container margin.
public static double ContainerMargin { get; set; }
Gets or sets the radius of the connection bridge or gap.
public static double CrossingRadius { get; set; }
The maximum zoom level.
public static double MaximumZoom { get; set; }
The minimum size of the item adorner.
public static double MinimumAdornerSize { get; set; }
The minimum distance from a connection to a given shape so that snapping occurs.
public static double MinimumShapeDistanceOnConnectionManipulationSnap { get; set; }
The minimum size of item.
public static double MinimumShapeSize { get; set; }
The minimum zoom level.
public static double MinimumZoom { get; set; }
Gets or sets the snapping angle when rotating items.
public static double RotationAngleSnap { get; set; }
The value around the shapes, which the router inflates the shapes with if implemented.
public static double RouterInflationValue { get; set; }
This property is used by the InflatedRectRouter and the AStarRouter.
The routing grid size.
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.
public static Dictionary<string, string> SafeSerializationAssemblies { get; }
Gets the segment step.
public static int SegmentStep { get; set; }
The distance around each item which is considered selectable.
public static double SelectionHitTestRadius { get; set; }
The margin around the selected shapes.
public static double SelectionRectInflationValue { get; set; }
The minimum distance to start a drag action.
public static double StartDragDelta { get; set; }
The default zooming factor. The factor is used as a multiplier or divider to produce the new zoom.
public static double ZoomScaleFactor { get; set; }