C# Class Gwupe.Agent.UI.WPF.API.GwupeDataCaptureForm

Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: gwupe/Gwupe

Méthodes publiques

Свойство Type Description
Cancelled bool
StartWithFocus System.Windows.Controls.Control

Méthodes publiques

Méthode Description
Reset ( ) : void

Méthodes protégées

Méthode Description
CancelUserInput ( object sender, RoutedEventArgs e ) : void
CommitFailed ( Exception submissionError ) : void

Called if the commit failed.

CommitInput ( ) : void

Called to commit the input

CommitSuccessful ( ) : void

Called if the commit was successful

InitGwupeDataCaptureForm ( ContentPresenter disablerContentPresenter, System.Windows.Controls.TextBlock statusTextBlock, System.Windows.Controls.TextBlock errorTextBlock ) : void
OnCommitCancelled ( ) : void
OnCommitFail ( Exception args ) : void
OnCommitSucceed ( ) : void
ProcessUserInput ( object sender, RoutedEventArgs e ) : void
ProcessUserInputOnEnter ( object sender, System.Windows.Input.KeyEventArgs e ) : void
ResetInputs ( ) : void

Called to reset the inputs to their pre-edited state

ResetStatus ( ) : void

Called to remove all the status' markings of pre submission successes and failures.

ResetUserInput ( object sender, RoutedEventArgs e ) : void
ValidateInput ( ) : bool

Is called after submission to validate the input

Method Details

CancelUserInput() protected méthode

protected CancelUserInput ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Résultat void

CommitFailed() protected abstract méthode

Called if the commit failed.
protected abstract CommitFailed ( Exception submissionError ) : void
submissionError System.Exception
Résultat void

CommitInput() protected abstract méthode

Called to commit the input
protected abstract CommitInput ( ) : void
Résultat void

CommitSuccessful() protected abstract méthode

Called if the commit was successful
protected abstract CommitSuccessful ( ) : void
Résultat void

InitGwupeDataCaptureForm() protected méthode

protected InitGwupeDataCaptureForm ( ContentPresenter disablerContentPresenter, System.Windows.Controls.TextBlock statusTextBlock, System.Windows.Controls.TextBlock errorTextBlock ) : void
disablerContentPresenter System.Windows.Controls.ContentPresenter
statusTextBlock System.Windows.Controls.TextBlock
errorTextBlock System.Windows.Controls.TextBlock
Résultat void

OnCommitCancelled() protected méthode

protected OnCommitCancelled ( ) : void
Résultat void

OnCommitFail() protected méthode

protected OnCommitFail ( Exception args ) : void
args System.Exception
Résultat void

OnCommitSucceed() protected méthode

protected OnCommitSucceed ( ) : void
Résultat void

ProcessUserInput() protected méthode

protected ProcessUserInput ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Résultat void

ProcessUserInputOnEnter() protected méthode

protected ProcessUserInputOnEnter ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object
e System.Windows.Input.KeyEventArgs
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

ResetInputs() protected abstract méthode

Called to reset the inputs to their pre-edited state
protected abstract ResetInputs ( ) : void
Résultat void

ResetStatus() protected abstract méthode

Called to remove all the status' markings of pre submission successes and failures.
protected abstract ResetStatus ( ) : void
Résultat void

ResetUserInput() protected méthode

protected ResetUserInput ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Résultat void

ValidateInput() protected abstract méthode

Is called after submission to validate the input
protected abstract ValidateInput ( ) : bool
Résultat bool

Property Details

Cancelled public_oe property

public bool Cancelled
Résultat bool

StartWithFocus public_oe property

public Control,System.Windows.Controls StartWithFocus
Résultat System.Windows.Controls.Control