DataGridRow.ValidationErrorTemplate 属性

定义

获取或设置用于在行验证中直观指示错误的模板。

public:
 property System::Windows::Controls::ControlTemplate ^ ValidationErrorTemplate { System::Windows::Controls::ControlTemplate ^ get(); void set(System::Windows::Controls::ControlTemplate ^ value); };
public System.Windows.Controls.ControlTemplate ValidationErrorTemplate { get; set; }
member this.ValidationErrorTemplate : System.Windows.Controls.ControlTemplate with get, set
Public Property ValidationErrorTemplate As ControlTemplate

属性值

用于直观指示行验证中的错误或使用 null 设置的 RowValidationErrorTemplate 模板。 已注册的默认值为 null。 有关可能影响值的内容的信息,请参阅 DependencyProperty

适用于

另请参阅