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