C# Class Channel9Downloader.ViewModels.Framework.MvvmWindow

This class serves as base class for windows that can be closed from the viewmodel.
Inheritance: System.Windows.Window, IViewService
ファイルを表示 Open project: MadCowDevelopment/Channel9Downloader

Public Methods

Method Description
MvvmWindow ( ) : System.Windows

Initializes a new instance of the MvvmWindow class.

Private Methods

Method Description
OnDataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Event handler for the DataContextChanged event. Registers an event handler for the ViewModel's CloseRequest event.

ViewModelCloseRequest ( object sender, CloseRequestEventArgs e ) : void

Event handler for the ViewModel's CloseRequest event.

Method Details

MvvmWindow() public method

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