27 lines
566 B
C#
27 lines
566 B
C#
namespace Lux.UI.Components.Layout
|
|
{
|
|
public partial class MainLayout
|
|
{
|
|
#region Protected Properties
|
|
|
|
protected string sideClass { get; set; } = "sidebar";
|
|
|
|
#endregion Protected Properties
|
|
|
|
#region Protected Methods
|
|
|
|
protected void UpdateNavDisplay()
|
|
{
|
|
navLarge = !navLarge;
|
|
sideClass = navLarge ? "sidebar" : "sidebarSmall";
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Fields
|
|
|
|
private bool navLarge = true;
|
|
|
|
#endregion Private Fields
|
|
}
|
|
} |