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)

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: