Search Results for

    Show / Hide Table of Contents

    Class LabelElement

    The label element.

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

    Constructors

    LabelElement()

    Initializes a new instance of the CheckBoxElement class.

    Declaration
    public LabelElement()

    Fields

    Label

    The label.

    Declaration
    public readonly ClickableLabel Label
    Field Value
    FlaxEditor.GUI.ClickableLabel

    Properties

    Control

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

    Overrides
    FlaxEditor.CustomEditors.LayoutElement.Control

    Methods

    AddCopyContextMenu(Action<ContextMenu>)

    Adds a simple context menu with utility to copy label text. Can be extended with more options.

    Declaration
    public LabelElement AddCopyContextMenu(Action<ContextMenu> customOptions = null)
    Parameters
    System.Action<FlaxEditor.GUI.ContextMenu.ContextMenu> customOptions

    Returns
    LabelElement

    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