Class ItemAddingEventArgs
Provides data for the ItemAdding event.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class ItemAddingEventArgs : DiagramEventArgs
Constructors
ItemAddingEventArgs(Object, ItemSource)
Initializes a new instance of the
Declaration
public ItemAddingEventArgs(object item, ItemSource source)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | Represent the item that is about to be added. |
ItemSource | source | Represent the ItemSource of the item. |
Properties
Cancel
Gets or sets whether the addtion operation should be cancelled.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
Info
Gets or sets a value to provide data for the clipboard operations.
Declaration
public CommandInfo Info { get; set; }
Property Value
Type |
---|
CommandInfo |
Remarks
This value is applicable only when the item is having a unique ID.
ItemSource
Gets the ItemSource of the item.
Declaration
public ItemSource ItemSource { get; }
Property Value
Type |
---|
ItemSource |