ValidationRule.Validate Method (Object, CultureInfo, BindingGroup)

.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,
	BindingGroup 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.BindingGroup

The binding group that uses the validation rule.

.NET Framework
Available since 4.5
Return to top
Show: