Show / Hide Table of Contents

Class ReorderableList

Inheritance
Object
ReorderableList
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditorInternal
Assembly: UnityEditor.dll
Syntax
public class ReorderableList

Constructors

| Improve this Doc View Source

ReorderableList(IList, Type)

Declaration
public ReorderableList(IList elements, Type elementType)
Parameters
Type Name Description
IList elements
Type elementType
| Improve this Doc View Source

ReorderableList(IList, Type, Boolean, Boolean, Boolean, Boolean)

Declaration
public ReorderableList(IList elements, Type elementType, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton)
Parameters
Type Name Description
IList elements
Type elementType
Boolean draggable
Boolean displayHeader
Boolean displayAddButton
Boolean displayRemoveButton
| Improve this Doc View Source

ReorderableList(SerializedObject, SerializedProperty)

Declaration
public ReorderableList(SerializedObject serializedObject, SerializedProperty elements)
Parameters
Type Name Description
SerializedObject serializedObject
SerializedProperty elements
| Improve this Doc View Source

ReorderableList(SerializedObject, SerializedProperty, Boolean, Boolean, Boolean, Boolean)

Declaration
public ReorderableList(SerializedObject serializedObject, SerializedProperty elements, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton)
Parameters
Type Name Description
SerializedObject serializedObject
SerializedProperty elements
Boolean draggable
Boolean displayHeader
Boolean displayAddButton
Boolean displayRemoveButton

Fields

| Improve this Doc View Source

displayAdd

Declaration
public bool displayAdd
Field Value
Type Description
Boolean
| Improve this Doc View Source

displayRemove

Declaration
public bool displayRemove
Field Value
Type Description
Boolean
| Improve this Doc View Source

drawElementBackgroundCallback

Declaration
public ReorderableList.ElementCallbackDelegate drawElementBackgroundCallback
Field Value
Type Description
ReorderableList.ElementCallbackDelegate
| Improve this Doc View Source

drawElementCallback

Declaration
public ReorderableList.ElementCallbackDelegate drawElementCallback
Field Value
Type Description
ReorderableList.ElementCallbackDelegate
| Improve this Doc View Source

drawFooterCallback

Declaration
public ReorderableList.FooterCallbackDelegate drawFooterCallback
Field Value
Type Description
ReorderableList.FooterCallbackDelegate
| Improve this Doc View Source

drawHeaderCallback

Declaration
public ReorderableList.HeaderCallbackDelegate drawHeaderCallback
Field Value
Type Description
ReorderableList.HeaderCallbackDelegate
| Improve this Doc View Source

drawNoneElementCallback

Declaration
public ReorderableList.DrawNoneElementCallback drawNoneElementCallback
Field Value
Type Description
ReorderableList.DrawNoneElementCallback
| Improve this Doc View Source

elementHeight

Declaration
public float elementHeight
Field Value
Type Description
Single
| Improve this Doc View Source

elementHeightCallback

Declaration
public ReorderableList.ElementHeightCallbackDelegate elementHeightCallback
Field Value
Type Description
ReorderableList.ElementHeightCallbackDelegate
| Improve this Doc View Source

footerHeight

Declaration
public float footerHeight
Field Value
Type Description
Single
| Improve this Doc View Source

headerHeight

Declaration
public float headerHeight
Field Value
Type Description
Single
| Improve this Doc View Source

onAddCallback

Declaration
public ReorderableList.AddCallbackDelegate onAddCallback
Field Value
Type Description
ReorderableList.AddCallbackDelegate
| Improve this Doc View Source

onAddDropdownCallback

Declaration
public ReorderableList.AddDropdownCallbackDelegate onAddDropdownCallback
Field Value
Type Description
ReorderableList.AddDropdownCallbackDelegate
| Improve this Doc View Source

onCanAddCallback

Declaration
public ReorderableList.CanAddCallbackDelegate onCanAddCallback
Field Value
Type Description
ReorderableList.CanAddCallbackDelegate
| Improve this Doc View Source

onCanRemoveCallback

Declaration
public ReorderableList.CanRemoveCallbackDelegate onCanRemoveCallback
Field Value
Type Description
ReorderableList.CanRemoveCallbackDelegate
| Improve this Doc View Source

onChangedCallback

Declaration
public ReorderableList.ChangedCallbackDelegate onChangedCallback
Field Value
Type Description
ReorderableList.ChangedCallbackDelegate
| Improve this Doc View Source

onMouseUpCallback

Declaration
public ReorderableList.SelectCallbackDelegate onMouseUpCallback
Field Value
Type Description
ReorderableList.SelectCallbackDelegate
| Improve this Doc View Source

onRemoveCallback

Declaration
public ReorderableList.RemoveCallbackDelegate onRemoveCallback
Field Value
Type Description
ReorderableList.RemoveCallbackDelegate
| Improve this Doc View Source

onReorderCallback

Declaration
public ReorderableList.ReorderCallbackDelegate onReorderCallback
Field Value
Type Description
ReorderableList.ReorderCallbackDelegate
| Improve this Doc View Source

onReorderCallbackWithDetails

Declaration
public ReorderableList.ReorderCallbackDelegateWithDetails onReorderCallbackWithDetails
Field Value
Type Description
ReorderableList.ReorderCallbackDelegateWithDetails
| Improve this Doc View Source

onSelectCallback

Declaration
public ReorderableList.SelectCallbackDelegate onSelectCallback
Field Value
Type Description
ReorderableList.SelectCallbackDelegate
| Improve this Doc View Source

showDefaultBackground

Declaration
public bool showDefaultBackground
Field Value
Type Description
Boolean

Properties

| Improve this Doc View Source

count

Declaration
public int count { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

defaultBehaviours

Declaration
public static ReorderableList.Defaults defaultBehaviours { get; }
Property Value
Type Description
ReorderableList.Defaults
| Improve this Doc View Source

draggable

Declaration
public bool draggable { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

index

Declaration
public int index { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

list

Declaration
public IList list { get; set; }
Property Value
Type Description
IList
| Improve this Doc View Source

serializedProperty

Declaration
public SerializedProperty serializedProperty { get; set; }
Property Value
Type Description
SerializedProperty

Methods

| Improve this Doc View Source

DoLayoutList()

Declaration
public void DoLayoutList()
| Improve this Doc View Source

DoList(Rect)

Declaration
public void DoList(Rect rect)
Parameters
Type Name Description
Rect rect
| Improve this Doc View Source

GetHeight()

Declaration
public float GetHeight()
Returns
Type Description
Single
| Improve this Doc View Source

GrabKeyboardFocus()

Declaration
public void GrabKeyboardFocus()
| Improve this Doc View Source

HasKeyboardControl()

Declaration
public bool HasKeyboardControl()
Returns
Type Description
Boolean
| Improve this Doc View Source

ReleaseKeyboardFocus()

Declaration
public void ReleaseKeyboardFocus()

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX