Class
ValidationErrorTemplateHelper

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:

cs-api-definition
public static class ValidationErrorTemplateHelper

Inheritance: objectValidationErrorTemplateHelper

Fields

DisplayModeProperty

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

Declaration

cs-api-definition
public static readonly DependencyProperty DisplayModeProperty

Field Value

DependencyProperty

ShowWhenFocusedProperty

Identifies the ShowWhenFocused attachable property.

Declaration

cs-api-definition
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static readonly DependencyProperty ShowWhenFocusedProperty

Field Value

DependencyProperty

Methods

GetDisplayMode(DependencyObject)

Gets the DisplayMode for the ValidationErrorTemplate.

Declaration

cs-api-definition
public static ValidationErrorTemplateDisplayMode GetDisplayMode(DependencyObject d)

Parameters

d

DependencyObject

Returns

ValidationErrorTemplateDisplayMode

GetShowWhenFocused(DependencyObject)

Gets the ShowWhenFocused.

Declaration

cs-api-definition
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static bool GetShowWhenFocused(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

bool

SetDisplayMode(DependencyObject, ValidationErrorTemplateDisplayMode)

Sets the DisplayMode.

Declaration

cs-api-definition
public static void SetDisplayMode(DependencyObject d, ValidationErrorTemplateDisplayMode value)

Parameters

d

DependencyObject

value

ValidationErrorTemplateDisplayMode

SetShowWhenFocused(DependencyObject, bool)

Sets the ShowWhenFocused.

Declaration

cs-api-definition
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static void SetShowWhenFocused(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

value

bool