C# Класс SumoNinjaMonkey.Framework.Services.NotificationService

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
view_OnClosing ( object sender, EventArgs e ) : void

Описание методов

Init() публичный статический Метод

public static Init ( Grid control, HorizontalAlignment horizontalAlignment = HorizontalAlignment.Right ) : void
control Windows.UI.Xaml.Controls.Grid
horizontalAlignment HorizontalAlignment
Результат void

Show() публичный статический Метод

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
Результат void

Show() публичный статический Метод

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
Результат void