C# Class SumoNinjaMonkey.Framework.Services.NotificationService

Afficher le fichier Open project: liquidboy/X

Méthodes publiques

Méthode Description
Init ( Grid control, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Right ) : void
Show ( string message, string title, Brush foregroundTextBrush, Brush countdownBackgroundBrush, double timeToLive, bool autoHide = false, double width = 300, double height = 180, string metroIcon = "", string imageIcon = "", double scaleIcon = 1 ) : void
Show ( string message, string title, bool autoHide = false, double width = 300, double height = 180, double timeToLive = 5 ) : void

Private Methods

Méthode Description
view_OnClosing ( object sender, EventArgs e ) : void

Method Details

Init() public static méthode

public static Init ( Grid control, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Right ) : void
control Windows.UI.Xaml.Controls.Grid
horizontalAlignment HorizontalAlignment
Résultat void

Show() public static méthode

public static Show ( string message, string title, Brush foregroundTextBrush, Brush countdownBackgroundBrush, double timeToLive, bool autoHide = false, double width = 300, double height = 180, string metroIcon = "", string imageIcon = "", double scaleIcon = 1 ) : void
message string
title string
foregroundTextBrush Windows.UI.Xaml.Media.Brush
countdownBackgroundBrush Windows.UI.Xaml.Media.Brush
timeToLive double
autoHide bool
width double
height double
metroIcon string
imageIcon string
scaleIcon double
Résultat void

Show() public static méthode

public static Show ( string message, string title, bool autoHide = false, double width = 300, double height = 180, double timeToLive = 5 ) : void
message string
title string
autoHide bool
width double
height double
timeToLive double
Résultat void