Enum CollectionChangedAction
Specifies whether an object is added/removed from the diagram.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public enum CollectionChangedAction
Examples
<SfDiagramComponent SelectionChanging="@OnSelectionChanging">
</SfDiagramComponent>
@code
{
private void OnSelectionChanging(SelectionChangingEventArgs args)
{
if ((args != null) && (args.NewValue != null) && (args.OldValue != null))
{
CollectionChangedAction type = args.Type;
}
}
}
Fields
| Name | Description |
|---|---|
| Add | Indicates that the object has been added to the diagram. |
| Remove | Indicates that the object has been removed from the diagram. |