Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ValidationRule.Validate Method (Object, CultureInfo, BindingExpressionBase)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Performs validation checks on a value.

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

public virtual ValidationResult Validate(
	object value,
	CultureInfo cultureInfo,
	BindingExpressionBase owner
)

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:
© 2018 Microsoft