Метод | Описание | |
---|---|---|
ApplyColorToTitleBar ( Color titleBackgroundColor, Color titleForegroundColor, Color titleInactiveBackgroundColor, Color titleInactiveForegroundColor ) : void |
Set Color to App Title Bar
|
|
ApplyColorToTitleButton ( Color titleButtonBackgroundColor, Color titleButtonForegroundColor, Color titleButtonHoverBackgroundColor, Color titleButtonHoverForegroundColor, Color titleButtonPressedBackgroundColor, Color titleButtonPressedForegroundColor, Color titleButtonInactiveBackgroundColor, Color titleButtonInactiveForegroundColor ) : void |
Set Color to App Title Bar Buttons (Maxium, Minus, Close)
|
|
GetAccentColor ( ) : Color | ||
GetScreenHeight ( ) : int |
Get current device screen height in pixel
|
|
GetScreenWidth ( ) : int | ||
HideWindowsMobileStatusBar ( ) : System.Threading.Tasks.Task |
Hide System Status Bar on Phone, make App full screen
|
|
SetWindowLaunchSize ( int height, int width ) : void |
Set App Window Preferred Launch View Size
|
|
SetWindowsMobileStatusBarColor ( Color backgroundColor, Color foregroundColor ) : void |
Apply a background color to Phone's system status bar
|
|
ShowToastNotification ( string assetsImageFileName, string text, NotificationAudioNames audioName ) : void |
Pop up a toast notification, which will stay in Notification Center
|
public static ApplyColorToTitleBar ( Color titleBackgroundColor, Color titleForegroundColor, Color titleInactiveBackgroundColor, Color titleInactiveForegroundColor ) : void | ||
titleBackgroundColor | Color | Background Color |
titleForegroundColor | Color | Foreground Color |
titleInactiveBackgroundColor | Color | Inactive Background Color |
titleInactiveForegroundColor | Color | Inactive Foreground Color |
Результат | void |
public static ApplyColorToTitleButton ( Color titleButtonBackgroundColor, Color titleButtonForegroundColor, Color titleButtonHoverBackgroundColor, Color titleButtonHoverForegroundColor, Color titleButtonPressedBackgroundColor, Color titleButtonPressedForegroundColor, Color titleButtonInactiveBackgroundColor, Color titleButtonInactiveForegroundColor ) : void | ||
titleButtonBackgroundColor | Color | |
titleButtonForegroundColor | Color | |
titleButtonHoverBackgroundColor | Color | |
titleButtonHoverForegroundColor | Color | |
titleButtonPressedBackgroundColor | Color | |
titleButtonPressedForegroundColor | Color | |
titleButtonInactiveBackgroundColor | Color | |
titleButtonInactiveForegroundColor | Color | |
Результат | void |
public static GetAccentColor ( ) : Color | ||
Результат | Color |
public static HideWindowsMobileStatusBar ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
public static SetWindowLaunchSize ( int height, int width ) : void | ||
height | int | Window Height |
width | int | Window Width |
Результат | void |
public static SetWindowsMobileStatusBarColor ( Color backgroundColor, Color foregroundColor ) : void | ||
backgroundColor | Color | Background Color |
foregroundColor | Color | Foreground Color |
Результат | void |
public static ShowToastNotification ( string assetsImageFileName, string text, NotificationAudioNames audioName ) : void | ||
assetsImageFileName | string | The image filename under Assets folder |
text | string | Notification text |
audioName | NotificationAudioNames | Notification sound |
Результат | void |