C# Класс SumoNinjaMonkey.Framework.Controls.MsgBoxView

Наследование: Windows.UI.Xaml.Controls.UserControl
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BackgroundFillProperty Windows.UI.Xaml.DependencyProperty
CountdownBackgroundColorProperty Windows.UI.Xaml.DependencyProperty
MessageTextForegroundColorProperty Windows.UI.Xaml.DependencyProperty

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

Метод Описание
Hide ( ) : void
LoadMetroIcon ( string key, Brush iconColor = null, double rotation, double scaleIcon = 1, double translateXIcon, double translateYIcon ) : void
MsgBoxView ( string msg, string title, Brush brushIcon, string metroIcon = "", string imageIcon = "", double scaleIcon = 1.0, double translateXIcon, double translateYIcon, string yesLabel = "Yes", string yesMessengerContent = "", string yesMessengerIdentifier = "", string noLabel = "No", string noMessengerContent = "", string noMessengerIdentifier = "", GeneralSystemWideMessage msgToPassAlong = null ) : System
Show ( ) : void

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

Метод Описание
BackgroundFillPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
CountdownBackgroundColorPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
LoadImage ( string imageUrl ) : void
MessageTextForegroundColorPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
butNo_Click ( object sender, RoutedEventArgs e ) : void
butYes_Click ( object sender, RoutedEventArgs e ) : void

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

Hide() публичный Метод

public Hide ( ) : void
Результат void

LoadMetroIcon() публичный Метод

public LoadMetroIcon ( string key, Brush iconColor = null, double rotation, double scaleIcon = 1, double translateXIcon, double translateYIcon ) : void
key string
iconColor Windows.UI.Xaml.Media.Brush
rotation double
scaleIcon double
translateXIcon double
translateYIcon double
Результат void

MsgBoxView() публичный Метод

public MsgBoxView ( string msg, string title, Brush brushIcon, string metroIcon = "", string imageIcon = "", double scaleIcon = 1.0, double translateXIcon, double translateYIcon, string yesLabel = "Yes", string yesMessengerContent = "", string yesMessengerIdentifier = "", string noLabel = "No", string noMessengerContent = "", string noMessengerIdentifier = "", GeneralSystemWideMessage msgToPassAlong = null ) : System
msg string
title string
brushIcon Windows.UI.Xaml.Media.Brush
metroIcon string
imageIcon string
scaleIcon double
translateXIcon double
translateYIcon double
yesLabel string
yesMessengerContent string
yesMessengerIdentifier string
noLabel string
noMessengerContent string
noMessengerIdentifier string
msgToPassAlong GeneralSystemWideMessage
Результат System

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

public Show ( ) : void
Результат void

Описание свойств

BackgroundFillProperty публичное статическое свойство

public static DependencyProperty,Windows.UI.Xaml BackgroundFillProperty
Результат Windows.UI.Xaml.DependencyProperty

CountdownBackgroundColorProperty публичное статическое свойство

public static DependencyProperty,Windows.UI.Xaml CountdownBackgroundColorProperty
Результат Windows.UI.Xaml.DependencyProperty

MessageTextForegroundColorProperty публичное статическое свойство

public static DependencyProperty,Windows.UI.Xaml MessageTextForegroundColorProperty
Результат Windows.UI.Xaml.DependencyProperty