Class CollectionChangingEventArgs
Notifies before the node/connector is added or removed from the diagram.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class CollectionChangingEventArgs : CollectionChangedEventArgs
Examples
<SfDiagramComponent Width="1000px" Height="1000px" CollectionChanging="@collection">
</SfDiagramComponent>
@code
{
private void collection(CollectionChangingEventArgs args)
{
if (args.Element != null)
{
Console.WriteLine("CollectionChanging");
}
}
}
Constructors
CollectionChangingEventArgs()
Declaration
public CollectionChangingEventArgs()
Properties
Cancel
Gets or sets the value that indicates whether to cancel the change or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|