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
ShowWhenFocusedProperty
DependencyProperty
Identifies the ShowWhenFocused attachable property.
C#
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static readonly DependencyProperty ShowWhenFocusedProperty
Methods
Gets the DisplayMode for the ValidationErrorTemplate.
C#
public static ValidationErrorTemplateDisplayMode GetDisplayMode(DependencyObject d)
Gets the ShowWhenFocused.
C#
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static bool GetShowWhenFocused(DependencyObject obj)
Sets the DisplayMode.
C#
public static void SetDisplayMode(DependencyObject d, ValidationErrorTemplateDisplayMode value)
Sets the ShowWhenFocused.
C#
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static void SetShowWhenFocused(DependencyObject obj, bool value)