Search Results for

    Show / Hide Table of Contents

    Class DictionaryEditor

    Default implementation of the inspector used to edit key-value dictionaries.

    Inheritance
    System.Object
    FlaxEditor.CustomEditors.CustomEditor
    DictionaryEditor
    Namespace: FlaxEditor.CustomEditors.Editors
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public class DictionaryEditor : CustomEditor

    Constructors

    DictionaryEditor()

    Declaration
    public DictionaryEditor()

    Properties

    Count

    Gets the length of the collection.

    Declaration
    public int Count { get; }
    Property Value
    System.Int32

    Methods

    ChangeKey(Object, Object)

    Changes the key of the item.

    Declaration
    protected void ChangeKey(object oldKey, object newKey)
    Parameters
    System.Object oldKey

    The old key value.

    System.Object newKey

    The new key value.

    Initialize(LayoutElementsContainer)

    Declaration
    public override void Initialize(LayoutElementsContainer layout)
    Parameters
    FlaxEditor.CustomEditors.LayoutElementsContainer layout

    Overrides
    FlaxEditor.CustomEditors.CustomEditor.Initialize(FlaxEditor.CustomEditors.LayoutElementsContainer)

    RebuildParentCollection()

    Rebuilds the parent layout if its collection.

    Declaration
    public void RebuildParentCollection()

    Refresh()

    Declaration
    public override void Refresh()
    Overrides
    FlaxEditor.CustomEditors.CustomEditor.Refresh()

    Resize(Int32)

    Resizes collection to the specified new size.

    Declaration
    protected void Resize(int newSize)
    Parameters
    System.Int32 newSize

    The new size.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat