ReorderableListFlags Enumeration

Rotorz ReorderableList

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 nameValueDescription
DisableReordering1 Hide grab handles and disable reordering of list items.
HideAddButton2 Hide add button at base of control.
HideRemoveButtons4 Hide remove buttons from list items.
DisableContextMenu8 Do not display context menu upon right-clicking grab handle.
DisableDuplicateCommand16 Hide "Duplicate" option from context menu.
DisableAutoFocus32 Do not automatically focus first control of newly added items.
ShowIndices64 Show zero-based index of array elements.
DisableClipping128 Do not attempt to clip items which are out of view.
Examples

Multiple flags can be specified if desired:

C#
var flags = ReorderableListFlags.HideAddButton | ReorderableListFlags.HideRemoveButtons;
ReorderableListGUI.ListField(list, flags);
See Also