DictionaryDisplayOptions

Various display modes for the dictionary to draw its items.

namespace Sirenix.OdinInspector
{
public enum DictionaryDisplayOptions
{
OneLine = 0
Foldout = 1
CollapsedFoldout = 2
ExpandedFoldout = 3
}
}

Requirements

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector
Version: 1.0.6.1

Members

Definition Description
CollapsedFoldout Draws each dictionary item in a collapsed foldout with the key in the header and the value inside the box.
ExpandedFoldout Draws each dictionary item in an expanded foldout with the key in the header and the value inside the box.
Foldout Draws each dictionary item in a box with the key in the header and the value inside the box. Whether or not the box is expanded or collapsed by default, is determined by the "Expand Foldout By Default" setting found in the preferences window "Tools > Odin Inspector > Preferences > Drawers > Settings".
OneLine Draws all dictionary items in two columns. The left column contains all key values, the right column displays all values.