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

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

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public struct SnappingItem

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

Constructors

Initializes a new instance of the SnappingItem struct.

C#
public SnappingItem(IDiagramItem item, Rect currentBounds)
Parameters:itemIDiagramItemcurrentBoundsRect

Properties

Gets current cached item bounds.

C#
public readonly Rect CurrentBounds { get; }

Gets the diagram item.

C#
public readonly IDiagramItem Item { get; }