C# Класс withSIX.Mini.Presentation.Wpf.Views.TrayNotification

Interaction logic for TrayNotification.xaml
Наследование: withSIX.Mini.Presentation.Wpf.Controls.TrayNotificationControl, ITrayNotification
Показать файл Открыть проект

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

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

Private Properties

Свойство Тип Описание
Close void
OnBalloonClosing void
OnFadeOutCompleted void
grid_MouseEnter void
imgClose_MouseDown void

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

Метод Описание
TrayNotification ( ) : System

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

Метод Описание
Close ( ) : void
OnBalloonClosing ( object sender, RoutedEventArgs e ) : void

By subscribing to the TaskbarIcon.BalloonClosingEvent and setting the "Handled" property to true, we suppress the popup from being closed in order to display the custom fade-out animation.

OnFadeOutCompleted ( object sender, EventArgs e ) : void

Closes the popup once the fade-out animation completed. The animation was triggered in XAML through the attached BalloonClosing event.

grid_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void

If the users hovers over the balloon, we don't close it.

imgClose_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Resolves the TaskbarIcon that displayed the balloon and requests a close action.

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

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

public TrayNotification ( ) : System
Результат System

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

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

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