C# Class TaskDialogInterop.TaskDialogButtonData

Provides data for all task dialog buttons.
Inheritance: INotifyPropertyChanged
Mostrar archivo Open project: Euclideon/WPF-Task-Dialog

Public Methods

Method Description
TaskDialogButtonData ( ) : System

Initializes a new instance of the TaskDialogButtonData class.

TaskDialogButtonData ( int id, string text, System command = null, bool isDefault = false, bool isCancel = false ) : System

Initializes a new instance of the TaskDialogButtonData struct.

Protected Methods

Method Description
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the E:PropertyChanged event.

RaisePropertyChanged ( string propertyName ) : void

Raises the E:PropertyChanged event.

Method Details

OnPropertyChanged() protected method

Raises the E:PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs The instance containing the event data.
return void

RaisePropertyChanged() protected method

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

TaskDialogButtonData() public method

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

TaskDialogButtonData() public method

Initializes a new instance of the TaskDialogButtonData struct.
public TaskDialogButtonData ( int id, string text, System command = null, bool isDefault = false, bool isCancel = false ) : System
id int The id value for the button.
text string The text label.
command System The command to associate.
isDefault bool Whether the button should be the default.
isCancel bool Whether the button should be a cancel.
return System