Class CollisionState
Provides data for CollisionFreeLocation and OverlappingObjects method of the diagram.
Inheritance
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class CollisionState : Object
Constructors
CollisionState()
Declaration
public CollisionState()
Properties
HorizontalAlignment
Gets the System.Windows.HorizontalAlignment characteristics applied to this element when it is composed within a parent element such as a Node or Connector.
Declaration
public HorizontalAlignment HorizontalAlignment { get; }
Property Value
Type |
---|
System.Windows.HorizontalAlignment |
IgnoreList
Gets or sets the ignore list from the overlapping elements.
Declaration
public IEnumerable<object> IgnoreList { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IEnumerable<System.Object> |
IncludeSubElements
Gets or sets a value indicating whether Annotation Element is included in the Overlapping list.
Declaration
public bool IncludeSubElements { get; set; }
Property Value
Type |
---|
System.Boolean |
Item
Gets or sets the item to be dragged.
Declaration
public object Item { get; set; }
Property Value
Type |
---|
System.Object |
Length
Gets a value indicates whether the element (Connector Annotation) finds with new position from the overlapping.
Declaration
public double Length { get; }
Property Value
Type |
---|
System.Double |
Margin
Gets the outer margin of an element.
Declaration
public Thickness Margin { get; }
Property Value
Type |
---|
System.Windows.Thickness |
Offset
Gets a value indicates whether the element finds with new offset value from the overlapping.
Declaration
public Point Offset { get; }
Property Value
Type |
---|
System.Windows.Point |
Space
Gets or sets a value indicating whether the element got overlapped, then the elements should be positioned near by free space along with the given space value.
Declaration
public double Space { get; set; }
Property Value
Type |
---|
System.Double |
VerticalAlignment
Gets the System.Windows.VerticalAlignment characteristics applied to this element when it is composed within a parent element such as a Node or Connector.
Declaration
public VerticalAlignment VerticalAlignment { get; }
Property Value
Type |
---|
System.Windows.VerticalAlignment |