Class CollectionChangedAction
Specifies whether an object is added/removed from the diagram.
Inheritance
System.Object
CollectionChangedAction
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class CollectionChangedAction : Enum
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
Add
Indicates that the object has been added to the diagram.
Declaration
public const CollectionChangedAction Add
Field Value
Remove
Indicates that the object has been removed from the diagram.
Declaration
public const CollectionChangedAction Remove