C# Class Cocktail.DialogButton

Represents an individual button displayed by the DialogHost.
Inheritance: PropertyChangedBase, IDisposable
Datei anzeigen Open project: IdeaBlade/Punch

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

InvokeCommand ( ) : bool

Invokes the command associated with this button.

Private Methods

Method Description
CommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
DialogButton ( IUICommand command, IDialogHost dialogHost ) : System

Initializes a new instance of DialogButton.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

InvokeCommand() public method

Invokes the command associated with this button.
public InvokeCommand ( ) : bool
return bool