Validate Method (Object, CultureInfo, BindingExpressionBase)

ValidationRule.Validate Method (Object, CultureInfo, BindingExpressionBase)

.NET Framework (current version)
 

Performs validation checks on a value.

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

Public Overridable Function Validate (
	value As Object,
	cultureInfo As CultureInfo,
	owner As BindingExpressionBase
) As 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.BindingExpressionBase

The binding expression that uses the validation rule.

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