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

Inheritance: System.Windows.Controls.UserControl
Mostrar archivo Open project: gwupe/Gwupe

Public Properties

Property Type Description
Cancelled bool
StartWithFocus System.Windows.Controls.Control

Public Methods

Method Description
Reset ( ) : void

Protected Methods

Method 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 method

protected CancelUserInput ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

CommitFailed() protected abstract method

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

CommitInput() protected abstract method

Called to commit the input
protected abstract CommitInput ( ) : void
return void

CommitSuccessful() protected abstract method

Called if the commit was successful
protected abstract CommitSuccessful ( ) : void
return void

InitGwupeDataCaptureForm() protected method

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
return void

OnCommitCancelled() protected method

protected OnCommitCancelled ( ) : void
return void

OnCommitFail() protected method

protected OnCommitFail ( Exception args ) : void
args System.Exception
return void

OnCommitSucceed() protected method

protected OnCommitSucceed ( ) : void
return void

ProcessUserInput() protected method

protected ProcessUserInput ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

ProcessUserInputOnEnter() protected method

protected ProcessUserInputOnEnter ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object
e System.Windows.Input.KeyEventArgs
return void

Reset() public method

public Reset ( ) : void
return void

ResetInputs() protected abstract method

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

ResetStatus() protected abstract method

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

ResetUserInput() protected method

protected ResetUserInput ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

ValidateInput() protected abstract method

Is called after submission to validate the input
protected abstract ValidateInput ( ) : bool
return bool

Property Details

Cancelled public_oe property

public bool Cancelled
return bool

StartWithFocus public_oe property

public Control,System.Windows.Controls StartWithFocus
return System.Windows.Controls.Control