New to Telerik UI for WPF? Start a free 30-day trial

This class represents a helper which allows different ways for the Validation.ErrorTemplate to be shown.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public static class ValidationErrorTemplateHelper

Inheritance: objectValidationErrorTemplateHelper

Fields

DisplayModeProperty

DependencyProperty

Identifies the DisplayModeProperty for the ValidationErrorTemplate. This is an attached property.

C#
public static readonly DependencyProperty DisplayModeProperty

Methods

Gets the DisplayMode for the ValidationErrorTemplate.

C#
public static ValidationErrorTemplateDisplayMode GetDisplayMode(DependencyObject d)
Parameters:dDependencyObjectReturns:

ValidationErrorTemplateDisplayMode

Sets the DisplayMode.

C#
public static void SetDisplayMode(DependencyObject d, ValidationErrorTemplateDisplayMode value)
Parameters:dDependencyObjectvalueValidationErrorTemplateDisplayMode