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()
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
See Also
FlaxEditor.CustomEditors.LayoutElement