C# Class Microsoft.Silverlight.Testing.Client.Notifications

A class that contains notification information.
Inheritance: System.Windows.Controls.ItemsControl
Show file Open project: garyjohnson/wpnest

Public Methods

Method Description
AddNotification ( Notification notification ) : void

Adds a notification object to the set of notifications. Connects the close button handler to automatically remove the notification from the visual tree.

Notifications ( ) : System

Initialize a new intance of the Notifications type.

OnApplyTemplate ( ) : void

Overrides the on apply template method.

Private Methods

Method Description
OnNotificationClosed ( object sender, RoutedEventArgs e ) : void

Handles the Closed event from the notification and removes the child.

Method Details

AddNotification() public method

Adds a notification object to the set of notifications. Connects the close button handler to automatically remove the notification from the visual tree.
public AddNotification ( Notification notification ) : void
notification Notification A notification instance.
return void

Notifications() public method

Initialize a new intance of the Notifications type.
public Notifications ( ) : System
return System

OnApplyTemplate() public method

Overrides the on apply template method.
public OnApplyTemplate ( ) : void
return void