skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DiagramConstants

Global constants.

Inheritance
System.Object
DiagramConstants
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll

Syntax

public static class DiagramConstants

Properties

BezierAutoOffset

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

Declaration
public static double BezierAutoOffset { get; set; }
Property Value
System.Double

ConnectionCornerRadius

Gets or sets the connection corner radius.

Declaration
public static double ConnectionCornerRadius { get; set; }
Property Value
System.Double

The connection corner radius.

ConnectorActivationRadius

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

Declaration
public static double ConnectorActivationRadius { get; set; }
Property Value
System.Double

ConnectorHitTestRadius

The radius around connector where connection can attach.

Declaration
public static double ConnectorHitTestRadius { get; set; }
Property Value
System.Double

ContainerMargin

Gets or sets the container margin.

Declaration
public static double ContainerMargin { get; set; }
Property Value
System.Double

CrossingRadius

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

Declaration
public static double CrossingRadius { get; set; }
Property Value
System.Double

InflatedRouterMinimumMargin

The margin around the shapes, which the InflatedRectRouter inflates the shapes with.

Declaration
[Obsolete("This property will be removed. Use the RouterInflationValue instead.", false)]
public static double InflatedRouterMinimumMargin { get; set; }
Property Value
System.Double

Remarks

Don't set it to zero since some space is needed for the arrows.

MaximumZoom

The maximum zoom level.

Declaration
public static double MaximumZoom { get; set; }
Property Value
System.Double

MinimumAdornerSize

The minimum size of the item adorner.

Declaration
public static double MinimumAdornerSize { get; set; }
Property Value
System.Double

MinimumShapeDistanceOnConnectionManipulationSnap

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

Declaration
public static double MinimumShapeDistanceOnConnectionManipulationSnap { get; set; }
Property Value
System.Double

MinimumShapeSize

The minimum size of item.

Declaration
public static double MinimumShapeSize { get; set; }
Property Value
System.Double

MinimumZoom

The minimum zoom level.

Declaration
public static double MinimumZoom { get; set; }
Property Value
System.Double

RotationAngleSnap

Gets or sets the snapping angle when rotating items.

Declaration
public static double RotationAngleSnap { get; set; }
Property Value
System.Double

RotationHitTestRadius

The radius around rotation thumb where click activates the thumb.

Declaration
[Obsolete("Use ManipulationAdorner.RotationHitTestRadius instead.", false)]
public static double RotationHitTestRadius { get; set; }
Property Value
System.Double

RouterInflationValue

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

Declaration
public static double RouterInflationValue { get; set; }
Property Value
System.Double

Remarks

This property is used by the InflatedRectRouter and the AStarRouter.

RoutingGridSize

The routing grid size.

Declaration
public static double RoutingGridSize { get; set; }
Property Value
System.Double

SegmentStep

Gets the segment step.

Declaration
public static int SegmentStep { get; set; }
Property Value
System.Int32

SelectionHitTestRadius

The distance around each item which is considered selectable.

Declaration
public static double SelectionHitTestRadius { get; set; }
Property Value
System.Double

SelectionRectInflationValue

The margin around the selected shapes.

Declaration
public static double SelectionRectInflationValue { get; set; }
Property Value
System.Double

StartDragDelta

The minimum distance to start a drag action.

Declaration
public static double StartDragDelta { get; set; }
Property Value
System.Double

ZoomFactor

The default zooming step. The step is added or removed to the current zoom in order to produce the new zoom.

Declaration
[Obsolete("This property will be removed. Use the ZoomScaleFactor instead.", false)]
public static double ZoomFactor { get; set; }
Property Value
System.Double

ZoomScaleFactor

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

Declaration
public static double ZoomScaleFactor { get; set; }
Property Value
System.Double

Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.