C# Code Reference
// core methods
- WindowIncetsControlCenter.Init(bool StatusBar, bool NavigationBar, bool LightStatusBar, bool LightNavigationBar)
Initiate the plugin with default states of system bars.
💡 You can automatically initiate the plugin with WindowIncetsController.cs
// C# public variables
- bool WindowIncetsController.StatusBar
Set or get status bar state. Set this True to enable the status bar.
💡 WindowIncetsController.StatusBar = true; (enables the status bar)
- bool WindowIncetsController.NavigationBar
Set or get navigation bar state. Set this True to enable the navigation bar.
💡 WindowIncetsController.NavigationBar = true; (enables the navigation bar)
- bool WindowIncetsController.LightStatusBar
Set or get navigation bar light mode state. Set this True to enable light mode (darkens the items on the status bar)
💡 WindowIncetsController.LightStatusBar = true; (darkens the items on the status bar)
- bool WindowIncetsController.LightNavigationBar
Set or get navigation bar light mode state. Set this True to enable light mode (darkens the items on the navigation bar)
💡 WindowIncetsController.LightNavigationBar = true; (darkens the items on the navigation bar)
- Color WindowIncetsController.StatusBarColor
Set or get color of the status bar.
💡 WindowIncetsController.StatusBarColor = new Color(0, 0, 0, 0); (makes the status bar transparent)
- Color WindowIncetsController.NavigationBarColor
Set or get color of the navigation bar.
💡 WindowIncetsController.NavigationBarColor = Color.Red; (makes the navigation bar red)
- Int WindowIncetsController.GetStatusBarHeight
Returns height of the status bar.
- Int WindowIncetsController.GetNavigationBarHeight
Returns height of the navigation bar.