Class
LatticeDictionary

Dictionary of Points needed in GridRouter.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

cs-api-definition
public class LatticeDictionary : Dictionary<Point, PathNode>, IDictionary, ICollection, IEnumerable, ISerializable, IDeserializationCallback

Inheritance: objectDictionary<Point, PathNode>LatticeDictionary

Implements: ICollectionIDeserializationCallbackIDictionaryIEnumerableISerializable

Constructors

LatticeDictionary(Func<Point, bool>, bool)

Initializes a new instance of the LatticeDictionary class.

Declaration

cs-api-definition
public LatticeDictionary(Func<Point, bool> locationDelegate, bool autoCreate = false)

Parameters

locationDelegate

Func<Point, bool>

The location delegate.

autoCreate

bool

If set to true [auto create].

Properties

Bounds

Gets or sets the bounds.

Declaration

cs-api-definition
public Rect Bounds { get; set; }

Property Value

Rect

The bounds.

EndPoint

Gets or sets the end point.

Declaration

cs-api-definition
public Point EndPoint { get; set; }

Property Value

Point

The end point.

StartPoint

Gets or sets the start point.

Declaration

cs-api-definition
public Point StartPoint { get; set; }

Property Value

Point

The start point.

this[Point]

Gets or sets the PathNode with the specified point.

Declaration

cs-api-definition
public PathNode this[Point point] { get; set; }

Parameters

point

Point

Property Value

PathNode