Difference between revisions of "SANB C-sharp Code References"

From Manual
Jump to navigation Jump to search
(Created page with "Quick C# Code References == Using == using SaariTech.UI; == Component == MobileStatusNavigationBar statusNavigation; == C# public functions == statusNavigation.Hide(); // H...")
 
Line 2: Line 2:
  
 
== Using ==
 
== Using ==
using SaariTech.UI;
+
<code>using SaariTech.UI;</code>
  
 
== Component ==
 
== Component ==
Line 8: Line 8:
  
 
== C# public functions ==
 
== C# public functions ==
statusNavigation.Hide(); // Hide status and navigation bar
+
<code>statusNavigation.Hide(); // Hide status and navigation bar</code>
  
statusNavigation.Show(); // Show status and navigation bar
+
<code>statusNavigation.Show(); // Show status and navigation bar</code>
  
statusNavigation.SetLightMode(BackgroundMode); // Set background color of bars to light
+
<code>statusNavigation.SetLightMode(BackgroundMode); // Set background color of bars to light</code>
  
statusNavigation.SetDarkMode(BackgroundMode); // Set background color of bars to dark
+
<code>statusNavigation.SetDarkMode(BackgroundMode); // Set background color of bars to dark</code>
  
statusNavigation.SetColor(Color color); // Set bars background color
+
<code>statusNavigation.SetColor(Color color); // Set bars background color</code>
  
statusNavigation.SetStatusLightMode(BackgroundMode); // Set background color of status bar to light
+
<code>statusNavigation.SetStatusLightMode(BackgroundMode); // Set background color of status bar to light</code>
  
statusNavigation.SetStatusDarkMode(); // Set background color of status bar to dark
+
<code>statusNavigation.SetStatusDarkMode(); // Set background color of status bar to dark</code>
  
statusNavigation.SetStatusColor(Color color); // Set status bar background color
+
<code>statusNavigation.SetStatusColor(Color color); // Set status bar background color</code>
  
statusNavigation.SetStatusLightModeWithLightContent(); // Set background color of status bar to light
+
<code>statusNavigation.SetStatusLightModeWithLightContent(); // Set background color of status bar to light</code>
  
statusNavigation.SetStatusDarkModeWithLightContent(); // Set background color of status bar to dark
+
<code>statusNavigation.SetStatusDarkModeWithLightContent(); // Set background color of status bar to dark</code>
  
statusNavigation.SetStatusLightModeWithDarkContent(); // Set background color of status bar to light
+
<code>statusNavigation.SetStatusLightModeWithDarkContent(); // Set background color of status bar to light</code>
  
statusNavigation.SetStatusDarkModeWithDarkContent(); // Set background color of status bar to dark
+
<code>statusNavigation.SetStatusDarkModeWithDarkContent(); // Set background color of status bar to dark</code>
  
statusNavigation.SetNavigationLightMode(BackgroundMode); // Set background color of navigation bar to light
+
<code>statusNavigation.SetNavigationLightMode(BackgroundMode); // Set background color of navigation bar to light</code>
  
statusNavigation.SetNavigationDarkMode(BackgroundMode); // Set background color of navigation bar to dark
+
<code>statusNavigation.SetNavigationDarkMode(BackgroundMode); // Set background color of navigation bar to dark</code>
  
statusNavigation.SetNavigationColor(Color color); // Set navigation bar background color
+
<code>statusNavigation.SetNavigationColor(Color color); // Set navigation bar background color</code>
  
statusNavigation.SetNavigationLightModeWithLightContent(); // Set background color of navigation bar to light
+
<code>statusNavigation.SetNavigationLightModeWithLightContent(); // Set background color of navigation bar to light</code>
  
statusNavigation.SetNavigationDarkModeWithLightContent(); // Set background color of navigation bar to dark
+
<code>statusNavigation.SetNavigationDarkModeWithLightContent(); // Set background color of navigation bar to dark</code>
  
statusNavigation.SetNavigationLightModeWithDarkContent(); // Set background color of navigation bar to light
+
<code>statusNavigation.SetNavigationLightModeWithDarkContent(); // Set background color of navigation bar to light</code>
  
statusNavigation.SetNavigationDarkModeWithDarkContent(); // Set background color of navigation bar to dark
+
<code>statusNavigation.SetNavigationDarkModeWithDarkContent(); // Set background color of navigation bar to dark</code>
  
 
== C# public variables ==
 
== C# public variables ==
Color statusNavigation.statusLightModeBackgroundColor; // Status light mode color
+
<code>Color statusNavigation.statusLightModeBackgroundColor; // Status light mode color</code>
  
Color statusNavigation.statusDarkModeBackgroundColor; // Status dark mode color
+
<code>Color statusNavigation.statusDarkModeBackgroundColor; // Status dark mode color</code>
  
Color statusNavigation.navigationLightModeBackgroundColor; // Navigation light mode color
+
<code>Color statusNavigation.navigationLightModeBackgroundColor; // Navigation light mode color</code>
  
Color statusNavigation.navigationDarkModeBackgroundColor; // Navigation dark mode color
+
<code>Color statusNavigation.navigationDarkModeBackgroundColor; // Navigation dark mode color</code>
  
UnityEvent statusNavigation.backButtonOnClick; // Back button event
+
<code>UnityEvent statusNavigation.backButtonOnClick; // Back button event</code>
  
bool statusNavigation.startFullScreen; // Sets to fullscreen at Start
+
<code>bool statusNavigation.startFullScreen; // Sets to fullscreen at Start</code>
  
bool statusNavigation.startLightMode; // Sets to light mode at Start
+
<code>bool statusNavigation.startLightMode; // Sets to light mode at Start</code>
  
 
== C# internal static variables generated by the component Mobile Status Navigation Bar ==
 
== C# internal static variables generated by the component Mobile Status Navigation Bar ==
float MobileStatusNavigationBar.StatusBarHeight; // Get Realtime Height of Status Bar
+
<code>float MobileStatusNavigationBar.StatusBarHeight; // Get Realtime Height of Status Bar</code>
  
float MobileStatusNavigationBar.NavigationBarHeight; // Get Realtime Height of Navigation Bar
+
<code>float MobileStatusNavigationBar.NavigationBarHeight; // Get Realtime Height of Navigation Bar</code>
  
float MobileStatusNavigationBar.StatusBarHeight_STATIC; // Get Height of Status Bar
+
<code>float MobileStatusNavigationBar.StatusBarHeight_STATIC; // Get Height of Status Bar</code>
  
float MobileStatusNavigationBar.NavigationBarHeight_STATIC; // Get Height of Navigation Bar
+
<code>float MobileStatusNavigationBar.NavigationBarHeight_STATIC; // Get Height of Navigation Bar</code>

Revision as of 00:27, 4 February 2021

Quick C# Code References

Using

using SaariTech.UI;

Component

MobileStatusNavigationBar statusNavigation;

C# public functions

statusNavigation.Hide(); // Hide status and navigation bar

statusNavigation.Show(); // Show status and navigation bar

statusNavigation.SetLightMode(BackgroundMode); // Set background color of bars to light

statusNavigation.SetDarkMode(BackgroundMode); // Set background color of bars to dark

statusNavigation.SetColor(Color color); // Set bars background color

statusNavigation.SetStatusLightMode(BackgroundMode); // Set background color of status bar to light

statusNavigation.SetStatusDarkMode(); // Set background color of status bar to dark

statusNavigation.SetStatusColor(Color color); // Set status bar background color

statusNavigation.SetStatusLightModeWithLightContent(); // Set background color of status bar to light

statusNavigation.SetStatusDarkModeWithLightContent(); // Set background color of status bar to dark

statusNavigation.SetStatusLightModeWithDarkContent(); // Set background color of status bar to light

statusNavigation.SetStatusDarkModeWithDarkContent(); // Set background color of status bar to dark

statusNavigation.SetNavigationLightMode(BackgroundMode); // Set background color of navigation bar to light

statusNavigation.SetNavigationDarkMode(BackgroundMode); // Set background color of navigation bar to dark

statusNavigation.SetNavigationColor(Color color); // Set navigation bar background color

statusNavigation.SetNavigationLightModeWithLightContent(); // Set background color of navigation bar to light

statusNavigation.SetNavigationDarkModeWithLightContent(); // Set background color of navigation bar to dark

statusNavigation.SetNavigationLightModeWithDarkContent(); // Set background color of navigation bar to light

statusNavigation.SetNavigationDarkModeWithDarkContent(); // Set background color of navigation bar to dark

C# public variables

Color statusNavigation.statusLightModeBackgroundColor; // Status light mode color

Color statusNavigation.statusDarkModeBackgroundColor; // Status dark mode color

Color statusNavigation.navigationLightModeBackgroundColor; // Navigation light mode color

Color statusNavigation.navigationDarkModeBackgroundColor; // Navigation dark mode color

UnityEvent statusNavigation.backButtonOnClick; // Back button event

bool statusNavigation.startFullScreen; // Sets to fullscreen at Start

bool statusNavigation.startLightMode; // Sets to light mode at Start

C# internal static variables generated by the component Mobile Status Navigation Bar

float MobileStatusNavigationBar.StatusBarHeight; // Get Realtime Height of Status Bar

float MobileStatusNavigationBar.NavigationBarHeight; // Get Realtime Height of Navigation Bar

float MobileStatusNavigationBar.StatusBarHeight_STATIC; // Get Height of Status Bar

float MobileStatusNavigationBar.NavigationBarHeight_STATIC; // Get Height of Navigation Bar