MultiBindingExpression.ValidationError Property

Definition

Gets the ValidationError object that caused this instance of MultiBindingExpression to be invalid.

C#
public override System.Windows.Controls.ValidationError ValidationError { get; }

Property Value

The ValidationError object that caused this instance of MultiBindingExpression to be invalid.

Remarks

You can set validation rules on both the MultiBinding object and the individual Binding objects in the MultiBinding object. The binding engine evaluates the ValidationRules on the MultiBinding object when a value moves from the binding target property to the IMultiValueConverter object (multi-value converter). After that, when a value moves from the converter to the binding source property of an individual binding, the binding engine evaluates the ValidationRules on that Binding object.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10