C# Class MetroDemo.MainWindowViewModel

Inheritance: INotifyPropertyChanged
显示文件 Open project: MahApps/MahApps.Metro Class Usage Examples

Private Properties

Property Type Description
FindBrushResources IEnumerable
OnHotKey Task
PerformDialogCoordinatorAction void
RunCustomFromVm void
RunProgressFromVm void
ShowMessage System.Action
ToggleIconScaling void

Public Methods

Method Description
Dispose ( ) : void
MainWindowViewModel ( IDialogCoordinator dialogCoordinator ) : System
this ( string columnName ) : string

Protected Methods

Method Description
RaisePropertyChanged ( string propertyName ) : void

Raises the PropertyChanged event if needed.

Private Methods

Method Description
FindBrushResources ( ) : IEnumerable
OnHotKey ( object sender, HotkeyEventArgs e ) : Task
PerformDialogCoordinatorAction ( System.Action action, bool runInMainThread ) : void
RunCustomFromVm ( ) : void
RunProgressFromVm ( ) : void
ShowMessage ( string startingThread ) : System.Action
ToggleIconScaling ( object obj ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MainWindowViewModel() public method

public MainWindowViewModel ( IDialogCoordinator dialogCoordinator ) : System
dialogCoordinator IDialogCoordinator
return System

RaisePropertyChanged() protected method

Raises the PropertyChanged event if needed.
protected RaisePropertyChanged ( string propertyName ) : void
propertyName string The name of the property that changed.
return void

this() public method

public this ( string columnName ) : string
columnName string
return string