Class ItemRemovingEventArgs
Arguments which are passed to ItemRemovingEventHandler.
Namespace: Unity.VisualScripting.ReorderableList
Syntax
public sealed class ItemRemovingEventArgs : CancelEventArgs
Constructors
ItemRemovingEventArgs(IReorderableListAdaptor, Int32)
Initializes a new instance of ItemRemovingEventArgs.
Declaration
public ItemRemovingEventArgs(IReorderableListAdaptor adaptor, int itemIndex)
Parameters
Type | Name | Description |
---|---|---|
IReorderableListAdaptor | adaptor | Reorderable list adaptor. |
Int32 | itemIndex | Zero-based index of item. |
Properties
Adaptor
Gets adaptor to reorderable list container which contains element.
Declaration
public IReorderableListAdaptor Adaptor { get; }
Property Value
Type | Description |
---|---|
IReorderableListAdaptor |
ItemIndex
Gets zero-based index of item which is being removed.
Declaration
public int ItemIndex { get; }
Property Value
Type | Description |
---|---|
Int32 |