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
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Méthodes publiques

Méthode Description
Reset ( ) : void

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

Méthodes protégées

Méthode Description
AcceptCancelPresenterViewModel ( ) : System

Constructor.

OnAcceptClick ( ) : void

Invoked when the 'Accept' button is clicked.

OnCancelClick ( ) : void

Invoked when the 'Cancel' button is clicked.

Private Methods

Méthode Description
FireAcceptClick ( ) : void
FireCancelClick ( ) : void

Method Details

AcceptCancelPresenterViewModel() protected méthode

Constructor.
protected AcceptCancelPresenterViewModel ( ) : System
Résultat System

OnAcceptClick() protected méthode

Invoked when the 'Accept' button is clicked.
protected OnAcceptClick ( ) : void
Résultat void

OnCancelClick() protected méthode

Invoked when the 'Cancel' button is clicked.
protected OnCancelClick ( ) : void
Résultat void

Reset() public méthode

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