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

Inheritance: System.Windows.Controls.ContentControl
显示文件 Open project: garyjohnson/wpnest

Public Properties

Property Type Description
CloseButtonVisibilityProperty System.Windows.DependencyProperty
TitleProperty System.Windows.DependencyProperty

Public Methods

Method Description
Notification ( ) : System

Initializes a new instance of the Notification class.

OnApplyTemplate ( ) : void

Overrides the on apply template method.

Protected Methods

Method Description
OnClosed ( RoutedEventArgs e ) : void

Fires the Closed event.

Private Methods

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

Connects to the Click event of the Close button.

Method Details

Notification() public method

Initializes a new instance of the Notification class.
public Notification ( ) : System
return System

OnApplyTemplate() public method

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

OnClosed() protected method

Fires the Closed event.
protected OnClosed ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs The event data.
return void

Property Details

CloseButtonVisibilityProperty public_oe static_oe property

Identifies the CloseButtonVisibility dependency property.
public static DependencyProperty,System.Windows CloseButtonVisibilityProperty
return System.Windows.DependencyProperty

TitleProperty public_oe static_oe property

Identifies the Title dependency property.
public static DependencyProperty,System.Windows TitleProperty
return System.Windows.DependencyProperty