Struct
SnappingItem

Encapsulates info about diagram item required by the snapping/matching logic.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public struct SnappingItem

Inherited Members ValueType.Equals(object)ValueType.GetHashCode()ValueType.ToString()

Constructors

SnappingItem(IDiagramItem, Rect)

Initializes a new instance of the SnappingItem struct.

Declaration

cs-api-definition
public SnappingItem(IDiagramItem item, Rect currentBounds)

Parameters

item

IDiagramItem

currentBounds

Rect

Properties

CurrentBounds

Gets current cached item bounds.

Declaration

cs-api-definition
public readonly Rect CurrentBounds { get; }

Property Value

Rect

Item

Gets the diagram item.

Declaration

cs-api-definition
public readonly IDiagramItem Item { get; }

Property Value

IDiagramItem