Class AddMenuClickedEventArgs
Arguments which are passed to AddMenuClickedEventHandler.
Namespace: Unity.VisualScripting.ReorderableList
Syntax
public sealed class AddMenuClickedEventArgs : EventArgs
Constructors
AddMenuClickedEventArgs(IReorderableListAdaptor, Rect)
Initializes a new instance of ItemMovedEventArgs.
Declaration
public AddMenuClickedEventArgs(IReorderableListAdaptor adaptor, Rect buttonPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| IReorderableListAdaptor | adaptor | Reorderable list adaptor. |
| Rect | buttonPosition | Position of the add menu button. |
Properties
Adaptor
Gets adaptor to reorderable list container.
Declaration
public IReorderableListAdaptor Adaptor { get; }
Property Value
| Type | Description |
|---|---|
| IReorderableListAdaptor |
ButtonPosition
Gets position of the add menu button.
Declaration
public Rect ButtonPosition { get; }
Property Value
| Type | Description |
|---|---|
| Rect |