Свойство | Тип | Описание | |
---|---|---|---|
ViewModelProperty |
Свойство | Тип | Описание | |
---|---|---|---|
Close | void | ||
OnBalloonClosing | void | ||
OnFadeOutCompleted | void | ||
grid_MouseEnter | void | ||
imgClose_MouseDown | void |
Метод | Описание | |
---|---|---|
TrayNotification ( ) : System |
Метод | Описание | |
---|---|---|
Close ( ) : void | ||
OnBalloonClosing ( object sender, |
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, |
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.
|