UGrokItApiForms.UgiForms Class Reference
Overview
Static functions for use in U Grok It apps in Xamarin Forms
Class Methods | |
static new void | AppOnCreate (bool handleScreenRotation, bool allowRotationOnTablet) |
Call this in your app's OnCreate() method (if you are not using UgiFormsApplication) More... | |
static new void | AppOnStart () |
Call this in your app's OnStart() method (if you are not using UgiFormsApplication) More... | |
static new void | AppOnSleep () |
Call this in your app's OnSleep() method (if you are not using UgiFormsApplication) More... | |
static new void | AppOnResume () |
Call this in your app's OnResume() method (if you are not using UgiFormsApplication) More... | |
Class Methods inherited from UGrokItApiForms | |
static string | GetEmbeddedResourceName (System.Reflection.Assembly assembly, string name) |
Gets the name of the embedded resource. More... | |
static string | GetEmbeddedResourceName (string name) |
Gets the name of the embedded resource. More... | |
static void | LogResources (System.Reflection.Assembly assembly) |
Logs the resources in an assembky (useful for debugging) More... | |
static void | LogResources () |
Logs the resources in the executing assembly More... | |
Properties | |
static double | DisplayScale [get, set] |
Display's scale (higher value means higher pixel density) More... | |
static Size | DisplaySizePixels [get] |
Display size in pixels More... | |
static Size | DisplaySizeUnits [get] |
Display size in Xamarin Forms layout units More... | |
static double | StatusBarHeightForLayout [get] |
Gets the status bar height for layout. More... | |
Properties inherited from UGrokItApiForms | |
static bool | HandleScreenRotation [get, set] |
Gets or sets a value indicating whether to handle screen rotations. More... | |
static bool | AllowRotationOnTablet [get, set] |
Gets or sets a value indicating whether to allow any orientation on a tablet. More... | |
static Color | NULL_COLOR [get] |
NULL Color (we must define one since Xamain.Forms does not have a NULL color value) More... | |
static Color | UI_COLOR [get] |
Color used for UI More... | |
Instance Method Documentation
◆ AppOnCreate()
|
inlinestatic |
Call this in your app's OnCreate() method (if you are not using UgiFormsApplication)
- Parameters
-
handleScreenRotation true
to handle screen rotationsallowRotationOnTablet true
to rotate to any orientation on a tablet
◆ AppOnStart()
|
inlinestatic |
Call this in your app's OnStart() method (if you are not using UgiFormsApplication)
◆ AppOnSleep()
|
inlinestatic |
Call this in your app's OnSleep() method (if you are not using UgiFormsApplication)
◆ AppOnResume()
|
inlinestatic |
Call this in your app's OnResume() method (if you are not using UgiFormsApplication)
Property Documentation
◆ DisplayScale
|
staticgetset |
Display's scale (higher value means higher pixel density)
The display scale
◆ DisplaySizePixels
|
staticget |
Display size in pixels
The display size in pixels
◆ DisplaySizeUnits
|
staticget |
Display size in Xamarin Forms layout units
The display size in Xamarin Forms layout units
◆ StatusBarHeightForLayout
|
staticget |
Gets the status bar height for layout.
The status bar height for layout.
Copyright © 2012-2017 U Grok It, Inc. connect@UGrokIt.com U Grok It and the U Grok It logo are registered trademarks of U Grok It, Inc. All other trademarks and copyrights are the property of their respective owners |