Validate Method (Object, CultureInfo, BindingGroup)
Collapse the table of content
Expand the table of content

ValidationRule.Validate Method (Object, CultureInfo, BindingGroup)

.NET Framework (current version)
 

Performs validation checks on a value.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

abstract Validate : 
        value:Object *
        cultureInfo:CultureInfo *
        owner:BindingGroup -> ValidationResult
override Validate : 
        value:Object *
        cultureInfo:CultureInfo *
        owner:BindingGroup -> ValidationResult

Parameters

value
Type: System.Object

The value from the binding target to check.

cultureInfo
Type: System.Globalization.CultureInfo

The culture to use in this rule.

owner
Type: System.Windows.Data.BindingGroup

The binding group that uses the validation rule.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft