Class ItemRemovingEventArgs
Arguments which are passed to ItemRemovingEventHandler.
Inherited Members
Namespace: Unity.VisualScripting.ReorderableList
Assembly: Unity.VisualScripting.Core.Editor.dll
Syntax
public sealed class ItemRemovingEventArgs : CancelEventArgs
Constructors
ItemRemovingEventArgs(IReorderableListAdaptor, int)
Initializes a new instance of ItemRemovingEventArgs.
Declaration
public ItemRemovingEventArgs(IReorderableListAdaptor adaptor, int itemIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| IReorderableListAdaptor | adaptor | Reorderable list adaptor. |
| int | 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 |
|---|---|
| int |