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