C# Class PaulStovell.TrialBalance.UserInterface.Providers.ErrorMessageProvider

Show file Open project: PaulStovell/trial-balance

Public Properties

Property Type Description
ErrorMessageProperty System.Windows.DependencyProperty
ErrorPropertyProperty System.Windows.DependencyProperty
ErrorProviderProperty System.Windows.DependencyProperty
HasErrorMessageKey System.Windows.DependencyPropertyKey
HasErrorMessageProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetErrorMessage ( DependencyObject obj ) : string
GetErrorProperty ( DependencyObject obj ) : string
GetErrorProvider ( DependencyObject obj ) : ErrorProvider
GetHasErrorMessage ( DependencyObject obj ) : bool
SetErrorMessage ( DependencyObject obj, string value ) : void
SetErrorProperty ( DependencyObject obj, string value ) : void
SetErrorProvider ( DependencyObject obj, ErrorProvider value ) : void
SetHasErrorMessage ( DependencyObject obj, bool value ) : void

Private Methods

Method Description
ErrorMessageProperty_CoerceValueCallback ( DependencyObject dependencyObject, object value ) : object
HasErrorMessageProperty_CoerceValueCallback ( DependencyObject dependencyObject, object value ) : object
StupidDIckheadPropertyHCanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetErrorMessage() public static method

public static GetErrorMessage ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetErrorProperty() public static method

public static GetErrorProperty ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetErrorProvider() public static method

public static GetErrorProvider ( DependencyObject obj ) : ErrorProvider
obj System.Windows.DependencyObject
return PaulStovell.TrialBalance.UserInterface.Validation.ErrorProvider

GetHasErrorMessage() public static method

public static GetHasErrorMessage ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

SetErrorMessage() public static method

public static SetErrorMessage ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetErrorProperty() public static method

public static SetErrorProperty ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetErrorProvider() public static method

public static SetErrorProvider ( DependencyObject obj, ErrorProvider value ) : void
obj System.Windows.DependencyObject
value PaulStovell.TrialBalance.UserInterface.Validation.ErrorProvider
return void

SetHasErrorMessage() public static method

public static SetHasErrorMessage ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

Property Details

ErrorMessageProperty public static property

public static DependencyProperty,System.Windows ErrorMessageProperty
return System.Windows.DependencyProperty

ErrorPropertyProperty public static property

public static DependencyProperty,System.Windows ErrorPropertyProperty
return System.Windows.DependencyProperty

ErrorProviderProperty public static property

public static DependencyProperty,System.Windows ErrorProviderProperty
return System.Windows.DependencyProperty

HasErrorMessageKey public static property

public static DependencyPropertyKey,System.Windows HasErrorMessageKey
return System.Windows.DependencyPropertyKey

HasErrorMessageProperty public static property

public static DependencyProperty,System.Windows HasErrorMessageProperty
return System.Windows.DependencyProperty