Class ItemRemovingEventArgs
Arguments which are passed to Item
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 Item
Declaration
public ItemRemovingEventArgs(IReorderableListAdaptor adaptor, int itemIndex)
Parameters
Type | Name | Description |
---|---|---|
IReorderable |
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 |
---|---|
IReorderable |
ItemIndex
Gets zero-based index of item which is being removed.
Declaration
public int ItemIndex { get; }
Property Value
Type | Description |
---|---|
int |