412f538867
- Sidebar che collassa lateralmente
28 lines
582 B
C#
28 lines
582 B
C#
namespace Lux.Report.Manager.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
|
|
}
|
|
}
|