C# Класс withSIX.Play.Presentation.Wpf.Views.Controls.TrayNotificationBalloon

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

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

Свойство Тип Описание
CloseNotificationCommandProperty System.Windows.DependencyProperty
MessageProperty System.Windows.DependencyProperty
TitleProperty System.Windows.DependencyProperty

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

Метод Описание
Dispose ( ) : void
Setup ( string title, string message, TrayNotificationButtons tnb = TrayNotificationButtons.tnbNone, ICommand buttonCommands = null ) : void
SetupSelectedButtons ( TrayNotificationButtons tnb ) : void
TrayNotificationBalloon ( TrayIcon trayIcon ) : System
ValidateCommands ( TrayNotificationButtons tnb, ICommand buttonCommands ) : bool

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

Метод Описание
ButtonClick ( object sender, RoutedEventArgs e ) : void
OnCloseTimerElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
OnMouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
OnMouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
SetMargin ( System.Windows.Controls.Button button, int left, int top ) : void

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

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

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

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

public Setup ( string title, string message, TrayNotificationButtons tnb = TrayNotificationButtons.tnbNone, ICommand buttonCommands = null ) : void
title string
message string
tnb TrayNotificationButtons
buttonCommands ICommand
Результат void

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

public SetupSelectedButtons ( TrayNotificationButtons tnb ) : void
tnb TrayNotificationButtons
Результат void

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

public TrayNotificationBalloon ( TrayIcon trayIcon ) : System
trayIcon TrayIcon
Результат System

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

public ValidateCommands ( TrayNotificationButtons tnb, ICommand buttonCommands ) : bool
tnb TrayNotificationButtons
buttonCommands ICommand
Результат bool

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

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

public static DependencyProperty,System.Windows CloseNotificationCommandProperty
Результат System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows MessageProperty
Результат System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows TitleProperty
Результат System.Windows.DependencyProperty