ClassValidationHelper
Provides utility methods and constants used in the RadMaskedTextInput for validating common input formats, such as IP addresses and email addresses.
Definition
Namespace:Telerik.Windows.Controls.MaskedInput
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public static class ValidationHelper
Inheritance: objectValidationHelper
Fields
DisplayValidationErrorsProperty
Identifies the DisplayValidationErrors dependency property. When set to true, the validation error will be always displayed. By default is false - only if the Mask property is data bound the validation error will visually appear.
Declaration
public static readonly DependencyProperty DisplayValidationErrorsProperty
Field Value
DependencyProperty
Gets Regex string matching an Email input.
Methods
GetDisplayValidationErrors(DependencyObject)
Gets the value of DisplayValidationErrors attached property.
Declaration
public static bool GetDisplayValidationErrors(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
SetDisplayValidationErrors(DependencyObject, bool)
Sets the value of DisplayValidationErrors attached property.
Declaration
public static void SetDisplayValidationErrors(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
value