Class SelectionChangingEventArgs
Notifies before the select or deselect any objects from the diagram.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class SelectionChangingEventArgs : SelectionChangedEventArgs
Examples
<SfDiagramComponent SelectionChanging="@SelectionChanging">
</SfDiagramComponent>
private void SelectionChanging(SelectionChangingEventArgs args)
{
if (args.NewValue[0] is Node)
{
args.Cancel = true;
}
}
Constructors
SelectionChangingEventArgs()
Declaration
public SelectionChangingEventArgs()
Properties
Cancel
Gets or sets the value indicates whether the element can be selected.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|