Class ValidationErrorTemplateHelper
This class represents a helper which allows different ways for the Validation.ErrorTemplate to be shown.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public static class ValidationErrorTemplateHelper
Fields
DisplayModeProperty
Identifies the DisplayModeProperty for the ValidationErrorTemplate. This is an attached property.
Declaration
public static readonly DependencyProperty DisplayModeProperty
Field Value
System.Windows.DependencyProperty
|
ShowWhenFocusedProperty
Identifies the ShowWhenFocused attachable property.
Declaration
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static readonly DependencyProperty ShowWhenFocusedProperty
Field Value
System.Windows.DependencyProperty
|
Methods
GetDisplayMode(DependencyObject)
Gets the DisplayMode for the ValidationErrorTemplate.
Declaration
public static ValidationErrorTemplateDisplayMode GetDisplayMode(DependencyObject d)
Parameters
System.Windows.DependencyObject
d
|
Returns
ValidationErrorTemplateDisplayMode
|
GetShowWhenFocused(DependencyObject)
Gets the ShowWhenFocused.
Declaration
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static bool GetShowWhenFocused(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
SetDisplayMode(DependencyObject, ValidationErrorTemplateDisplayMode)
Sets the DisplayMode.
Declaration
public static void SetDisplayMode(DependencyObject d, ValidationErrorTemplateDisplayMode value)
Parameters
System.Windows.DependencyObject
d
|
ValidationErrorTemplateDisplayMode
value
|
SetShowWhenFocused(DependencyObject, Boolean)
Sets the ShowWhenFocused.
Declaration
[Obsolete("This property is obsolete. Use the DisplayMode property.")]
public static void SetShowWhenFocused(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
|
System.Boolean
value
|