C# 클래스 withSIX.Mini.Presentation.Wpf.Views.TrayNotification

Interaction logic for TrayNotification.xaml
상속: withSIX.Mini.Presentation.Wpf.Controls.TrayNotificationControl, ITrayNotification
파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 프로퍼티들

프로퍼티 타입 설명
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