BindingGroup.ValidateWithoutUpdate 方法

定义

对绑定和将 ValidationRule 属性设置为 ValidationStepRawProposedValueConvertedProposedValue 对象运行转换器。Runs the converter on the binding and the ValidationRule objects that have the ValidationStep property set to RawProposedValue or ConvertedProposedValue.

public:
 bool ValidateWithoutUpdate();
public bool ValidateWithoutUpdate ();
member this.ValidateWithoutUpdate : unit -> bool
Public Function ValidateWithoutUpdate () As Boolean

返回

Boolean

如果验证规则成功,则为 true;否则为 falsetrue if the validation rules succeed; otherwise, false.

注解

调用此方法时,源不会更新。The sources are not updated when you call this method.

适用于