C# 클래스 WPFNotification.Core.NotifyBox

파일 보기 프로젝트 열기: muhammad-magdy/WPFToastNotification

공개 메소드들

메소드 설명
ClearNotifications ( ) : void

Remove all notifications from notification list and buffer list.

Show ( Window window, System.TimeSpan displayDuration, NotificationFlowDirection notificationFlowDirection ) : void

Shows the specified window as a notification.

Show ( object content ) : void

Shows the specified notification.

Show ( object content, NotificationConfiguration configuration ) : void

Shows the specified notification.

비공개 메소드들

메소드 설명
NotifyBox ( ) : System

Initialises static members of the NotifyBox class.

OnTimerElapsed ( WindowInfo windowInfo ) : void

Called when the timer has elapsed. Removes any stale notifications.

SetWindowDirection ( Window window, NotificationFlowDirection notificationFlowDirection ) : void

Display the notification window in specified direction of the screen

Window_Closed ( object sender, EventArgs e ) : void

Called when the window is about to close. Remove the notification window from notification windows list and add one from the buffer list.

메소드 상세

ClearNotifications() 공개 정적인 메소드

Remove all notifications from notification list and buffer list.
public static ClearNotifications ( ) : void
리턴 void

Show() 공개 정적인 메소드

Shows the specified window as a notification.
public static Show ( Window window, System.TimeSpan displayDuration, NotificationFlowDirection notificationFlowDirection ) : void
window System.Windows.Window The window.
displayDuration System.TimeSpan The display duration.
notificationFlowDirection NotificationFlowDirection
리턴 void

Show() 공개 정적인 메소드

Shows the specified notification.
public static Show ( object content ) : void
content object The notification content.
리턴 void

Show() 공개 정적인 메소드

Shows the specified notification.
public static Show ( object content, NotificationConfiguration configuration ) : void
content object The notification content.
configuration WPFNotification.Core.Configuration.NotificationConfiguration The notification configuration object.
리턴 void