Class
LatticeDictionary

Dictionary of Points needed in GridRouter.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

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

Inheritance: objectDictionary<Point, PathNode>LatticeDictionary

Implements: ICollectionICollection<KeyValuePair<Point, PathNode>>IDeserializationCallbackIDictionaryIDictionary<Point, PathNode>IEnumerableIEnumerable<KeyValuePair<Point, PathNode>>IReadOnlyCollection<KeyValuePair<Point, PathNode>>IReadOnlyDictionary<Point, PathNode>ISerializable

Inherited Members Dictionary<Point, PathNode>.Add(Point, PathNode)Dictionary<Point, PathNode>.Clear()Dictionary<Point, PathNode>.ContainsKey(Point)Dictionary<Point, PathNode>.ContainsValue(PathNode)Dictionary<Point, PathNode>.GetEnumerator()Dictionary<Point, PathNode>.OnDeserialization(object)Dictionary<Point, PathNode>.Remove(Point)Dictionary<Point, PathNode>.Remove(Point, out PathNode)Dictionary<Point, PathNode>.TryGetValue(Point, out PathNode)Dictionary<Point, PathNode>.TryAdd(Point, PathNode)Dictionary<Point, PathNode>.EnsureCapacity(int)Dictionary<Point, PathNode>.TrimExcess()Dictionary<Point, PathNode>.TrimExcess(int)Dictionary<Point, PathNode>.ComparerDictionary<Point, PathNode>.CountDictionary<Point, PathNode>.KeysDictionary<Point, PathNode>.ValuesDictionary<Point, PathNode>.this[Point]

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
[SuppressMessage("Microsoft.Design", "CA1043:UseIntegralOrStringArgumentsForIndexers")]
public PathNode this[Point point] { get; set; }

Parameters

point

Point

Property Value

PathNode