ClassValidationErrorTemplateHelper
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:
public static class ValidationErrorTemplateHelper
Inheritance: objectValidationErrorTemplateHelper
Fields
DisplayModeProperty
Identifies the DisplayModeProperty for the ValidationErrorTemplate. This is an attached property.
Declaration
public static readonly DependencyProperty DisplayModeProperty
Field Value
DependencyProperty
ShowWhenFocusedProperty
Identifies the ShowWhenFocused attachable property.
Declaration
[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
public static ValidationErrorTemplateDisplayMode GetDisplayMode(DependencyObject d)
Parameters
d
DependencyObject
Returns
GetShowWhenFocused(DependencyObject)
Gets the ShowWhenFocused.
Declaration
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static bool GetShowWhenFocused(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
SetDisplayMode(DependencyObject, ValidationErrorTemplateDisplayMode)
Sets the DisplayMode.
Declaration
public static void SetDisplayMode(DependencyObject d, ValidationErrorTemplateDisplayMode value)
Parameters
d
DependencyObject
value
SetShowWhenFocused(DependencyObject, bool)
Sets the ShowWhenFocused.
Declaration
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static void SetShowWhenFocused(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
value