New to Telerik UI for WinForms? Start a free 30-day trial

Dictionary of Points needed in GridRouter.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class LatticeDictionary : Dictionary<Point, PathNode>, IDictionary, ICollection, IEnumerable, ISerializable, IDeserializationCallback

Inheritance: objectDictionary<Point, PathNode>LatticeDictionary

Implements: ICollectionIDeserializationCallbackIDictionaryIEnumerableISerializable

Constructors

Initializes a new instance of the LatticeDictionary class.

C#
public LatticeDictionary(Func<Point, bool> locationDelegate, bool autoCreate = false)
Parameters:locationDelegateFunc<Point, bool>

The location delegate.

autoCreatebool

If set to true [auto create].

Properties

Gets or sets the bounds.

C#
public Rect Bounds { get; set; }
Property Value:

The bounds.

Gets or sets the end point.

C#
public Point EndPoint { get; set; }
Property Value:

The end point.

Gets or sets the start point.

C#
public Point StartPoint { get; set; }
Property Value:

The start point.

Gets or sets the PathNode with the specified point.

C#
public PathNode this[Point point] { get; set; }
Parameters:pointPoint