Class DiagramSelectedItems
Represents the collection of selected items in the diagram.
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public class DiagramSelectedItems : SfDiagramBase
Constructors
DiagramSelectedItems()
Represents the collection of selected items in the diagram.
Declaration
public DiagramSelectedItems()
Properties
Connectors
Get the collection of selected connector objects in the selected region. Its value may vary based on the selected region.
Declaration
public ObservableCollection<DiagramConnector> Connectors { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<DiagramConnector> |
Constraints
The constraints property is used to enable or disable certain behaviors of the Selected Items.
Declaration
public SelectorConstraints Constraints { get; set; }
Property Value
Type | Description |
---|---|
SelectorConstraints |
Remarks
• This property controls the visibility of the selector. |
• Users can able to control the resize, user handles behaviors, etc. |
• By default, the constraints will be SelectorConstraints.All. |
Height
Gets the height of the selected region.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Nodes
Gets the collection of selected node objects in the selected region. Its value may vary based on the selected region.
Declaration
public ObservableCollection<DiagramNode> Nodes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<DiagramNode> |
OffsetX
Gets the X coordinate position of the selected region. Its value may vary based on the selected region.
Declaration
public Nullable<double> OffsetX { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
OffsetY
Gets the Y coordinate position of the selected region. Its value may vary based on the selected region.
Declaration
public Nullable<double> OffsetY { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Pivot
Gets the position(X,Y) to the selector .By default, this will be (0.5,0.5) to the selector.
Declaration
public SelectorPivot Pivot { get; set; }
Property Value
Type | Description |
---|---|
SelectorPivot |
RotateAngle
Gets the rotate angle of the selection area. By default, it is set to 0.
Declaration
public Nullable<double> RotateAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
RubberBandSelectionMode
Specifies whether the diagram objects can be selected, when the selection region intersects the objects or selected only when the complete object's bounds inside the selection region.
Declaration
public RubberBandSelectionMode RubberBandSelectionMode { get; set; }
Property Value
Type | Description |
---|---|
RubberBandSelectionMode |
Remarks
This property has two options. They are |
• CompleteIntersect |
• PartialIntersect |
By default, this Mode will be CompleteIntersect. |
UserHandles
Defines the collection of UserHandle objects.
Declaration
public ObservableCollection<DiagramUserHandle> UserHandles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<DiagramUserHandle> |
Width
Gets the width of the selection region. Its value may vary based on the selected region.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double |