New to Telerik UI for WPFStart a free 30-day trial

Dictionary of Points needed in GridRouter.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

C#
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

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

Bounds

Rect

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