Reorderable List Control for Unity
| ReorderableListFlags Enumeration |
Additional flags which can be passed into reorderable list field.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax[FlagsAttribute] public enum ReorderableListFlags
@FlagsAttribute public enum ReorderableListFlags
Members| Member name | Value | Description | |
|---|---|---|---|
| DisableReordering | 1 | Hide grab handles and disable reordering of list items. | |
| HideAddButton | 2 | Hide add button at base of control. | |
| HideRemoveButtons | 4 | Hide remove buttons from list items. | |
| DisableContextMenu | 8 | Do not display context menu upon right-clicking grab handle. | |
| DisableDuplicateCommand | 16 | Hide "Duplicate" option from context menu. | |
| DisableAutoFocus | 32 | Do not automatically focus first control of newly added items. | |
| ShowIndices | 64 | Show zero-based index of array elements. | |
| DisableClipping | 128 | Do not attempt to clip items which are out of view. |
ExamplesMultiple flags can be specified if desired:
C#
var flags = ReorderableListFlags.HideAddButton | ReorderableListFlags.HideRemoveButtons;
ReorderableListGUI.ListField(list, flags);
See Also