Class NavigationBar
A navigation bar control. Shows the current location path with UI buttons to navigate around.
Implements
System.IComparable
Namespace: FlaxEditor.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public class NavigationBar : Panel, IComparable, IDrawable
Constructors
NavigationBar()
Fields
DefaultButtonsMargin
The default buttons margin.
Declaration
public const float DefaultButtonsMargin = 2F
Field Value
|
System.Single
|
Methods
Arrange()
Arranges the child controls.
Declaration
protected override void Arrange()
Overrides
PerformLayout(Boolean)
Update control layout
Declaration
public override void PerformLayout(bool force = false)
Parameters
|
System.Boolean
force
True if perform layout by force even if cached state wants to skip it due to optimization. |
Overrides
UpdateBounds(ToolStrip)
Updates the bar bounds and positions it after the last toolstrip button. Ensures to fit the toolstrip area (navigation bar horizontal scroll bar can be used to view the full path).
Declaration
public void UpdateBounds(ToolStrip toolstrip)
Parameters
|
ToolStrip
toolstrip
The toolstrip. |