C# Class SumoNinjaMonkey.Framework.Services.MsgBoxService

显示文件 Open project: liquidboy/X

Public Methods

Method Description
Hide ( ) : void
Init ( Grid control, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Center, VerticalAlignment verticalAlignment = VerticalAlignment.Center ) : void
Show ( string message, string title, Brush modalAdornerBrush, Brush backgroundBrush, Brush foregroundTextBrush, double width = 300, double height = 180, string metroIcon = "", string imageIcon = "", double scaleIcon = 1, double translateXIcon, double translateYIcon, string yesLabel = "Yes", string yesMessengerContent = "", string yesMessengerIdentifier = "", string noLabel = "No", string noMessengerContent = "", string noMessengerIdentifier = "", GeneralSystemWideMessage msgToPassAlong = null ) : void

Method Details

Hide() public static method

public static Hide ( ) : void
return void

Init() public static method

public static Init ( Grid control, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Center, VerticalAlignment verticalAlignment = VerticalAlignment.Center ) : void
control Windows.UI.Xaml.Controls.Grid
horizontalAlignment HorizontalAlignment
verticalAlignment VerticalAlignment
return void

Show() public static method

public static Show ( string message, string title, Brush modalAdornerBrush, Brush backgroundBrush, Brush foregroundTextBrush, double width = 300, double height = 180, string metroIcon = "", string imageIcon = "", double scaleIcon = 1, double translateXIcon, double translateYIcon, string yesLabel = "Yes", string yesMessengerContent = "", string yesMessengerIdentifier = "", string noLabel = "No", string noMessengerContent = "", string noMessengerIdentifier = "", GeneralSystemWideMessage msgToPassAlong = null ) : void
message string
title string
modalAdornerBrush Windows.UI.Xaml.Media.Brush
backgroundBrush Windows.UI.Xaml.Media.Brush
foregroundTextBrush Windows.UI.Xaml.Media.Brush
width double
height double
metroIcon string
imageIcon string
scaleIcon double
translateXIcon double
translateYIcon double
yesLabel string
yesMessengerContent string
yesMessengerIdentifier string
noLabel string
noMessengerContent string
noMessengerIdentifier string
msgToPassAlong GeneralSystemWideMessage
return void