C# Class Open.Core.UI.Controls.AcceptCancelPresenterViewModel

The basic implementation of a view-model for a AcceptCancel presenter. Override and extend this class to control the 'AcceptCancelPresenter'.
Inheritance: ViewModelBase, IAcceptCancelPresenter
Datei anzeigen Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
Reset ( ) : void

Resets the OK/Cancel labels to their default values and ensure both button are visible.

Protected Methods

Method Description
AcceptCancelPresenterViewModel ( ) : System

Constructor.

OnAcceptClick ( ) : void

Invoked when the 'Accept' button is clicked.

OnCancelClick ( ) : void

Invoked when the 'Cancel' button is clicked.

Private Methods

Method Description
FireAcceptClick ( ) : void
FireCancelClick ( ) : void

Method Details

AcceptCancelPresenterViewModel() protected method

Constructor.
protected AcceptCancelPresenterViewModel ( ) : System
return System

OnAcceptClick() protected method

Invoked when the 'Accept' button is clicked.
protected OnAcceptClick ( ) : void
return void

OnCancelClick() protected method

Invoked when the 'Cancel' button is clicked.
protected OnCancelClick ( ) : void
return void

Reset() public method

Resets the OK/Cancel labels to their default values and ensure both button are visible.
public Reset ( ) : void
return void