Class Validation
Provides validation related attached properties and utility methods.
Inheritance
Inherited Members
Namespace: DevZest.Data.Presenters
Assembly: DevZest.Data.WPF.dll
Syntax
public static class Validation
Fields
| Name | Description |
|---|---|
| FailedFlushingTemplateProperty | Identifies the FailedFlushingTemplate attached property (GetFailedFlushingTemplate(DependencyObject)/SetFailedFlushingTemplate(DependencyObject, ControlTemplate)). |
| FailedTemplateProperty | Identifies the FailedTemplate attached property (GetFailedTemplate(DependencyObject)/SetFailedTemplate(DependencyObject, ControlTemplate)). |
| StatusProperty | Identifies the Status readonly attached property (GetStatus(DependencyObject)). |
| SucceededTemplateProperty | Identifies the SucceededTemplate attached property (GetSucceededTemplate(DependencyObject)/SetSucceededTemplate(DependencyObject, ControlTemplate)). |
| ValidatingTemplateProperty | Identifies the ValidatinigTemplate attached property (GetValidatingTemplate(DependencyObject)/SetValidatingTemplate(DependencyObject, ControlTemplate)). |
Methods
| Name | Description |
|---|---|
| GetFailedFlushingTemplate(DependencyObject) | Gets the control template for specified view element with FailedFlushing status. This is the getter of FailedFlushingTemplate attached property. |
| GetFailedTemplate(DependencyObject) | Gets the control template for specified view element with Failed status. This is the getter of FailedTemplate attached property. |
| GetStatus(DependencyObject) | Gets validation status for specified view element. This is the getter of Status attached property. |
| GetSucceededTemplate(DependencyObject) | Gets the control template for specified view element with Succeeded status. This is the getter of SucceededTemplate attached property. |
| GetValidatingTemplate(DependencyObject) | Gets the control template for specified view element with Validating status. This is the getter of ValidatingTemplate attached property. |
| SetFailedFlushingTemplate(DependencyObject, ControlTemplate) | Sets the control template for specified view element with FailedFlushing status. This is the setter of FailedFlushingTemplate attached property. |
| SetFailedTemplate(DependencyObject, ControlTemplate) | Sets the control template for specified view element with Failed status. This is the setter of FailedTemplate attached property. |
| SetSucceededTemplate(DependencyObject, ControlTemplate) | Sets the control template for specified view element with Succeeded status. This is the setter of SucceededTemplate attached property. |
| SetValidatingTemplate(DependencyObject, ControlTemplate) | Sets the control template for specified view element with Validating status. This is the setter of ValidatingTemplate attached property. |