Search Results for

    Show / Hide Table of Contents

    Class GroupElement

    The layout group element.

    Inheritance
    System.Object
    FlaxEditor.CustomEditors.LayoutElement
    FlaxEditor.CustomEditors.LayoutElementsContainer
    GroupElement
    Namespace: FlaxEditor.CustomEditors.Elements
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public class GroupElement : LayoutElementsContainer

    Constructors

    GroupElement()

    Declaration
    public GroupElement()

    Fields

    Panel

    The drop panel.

    Declaration
    public readonly DropPanel Panel
    Field Value
    DropPanel

    SetupContextMenu

    Event is fired if the group can setup a context menu and the context menu is being setup.

    Declaration
    public Action<ContextMenu, DropPanel> SetupContextMenu
    Field Value
    System.Action<FlaxEditor.GUI.ContextMenu.ContextMenu, DropPanel>

    Properties

    ContainerControl

    Declaration
    public override ContainerControl ContainerControl { get; }
    Property Value
    ContainerControl

    Overrides
    FlaxEditor.CustomEditors.LayoutElementsContainer.ContainerControl

    Methods

    AddHeaderButton(String, Single, SpriteHandle)

    Adds a button to the group header.

    Declaration
    public Image AddHeaderButton(string tooltipText, float xOffset, SpriteHandle sprite)
    Parameters
    System.String tooltipText

    System.Single xOffset

    SpriteHandle sprite

    Returns
    Image

    The created control.

    AddSettingsButton()

    Add utility settings button to the group header.

    Declaration
    public Image AddSettingsButton()
    Returns
    Image

    The created control.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)

    See Also

    FlaxEditor.CustomEditors.LayoutElement
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat