Class MaskedInputExtensions
A class representing value property extensions for the RadMaskedInput controls.
Inheritance
Namespace: Telerik.Windows.Controls.MaskedInput
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class MaskedInputExtensions : DependencyObject
Constructors
MaskedInputExtensions()
Declaration
public MaskedInputExtensions()
Fields
AllowMinusOnNullValueProperty
Identifies the AllowMinusOnNullValue dependency property. If set to true minus will be allowed when the value in Null. Property is designed only for no-masked scenarios in NumericInput and CurrencyInput.
Declaration
public static readonly DependencyProperty AllowMinusOnNullValueProperty
Field Value
System.Windows.DependencyProperty
|
AllowMinusOnZeroValueProperty
Identifies the AllowMinusOnZeroValue dependency property. If set to false minus is not allowed before value of 0.
Declaration
public static readonly DependencyProperty AllowMinusOnZeroValueProperty
Field Value
System.Windows.DependencyProperty
|
AllowNullProperty
Identifies the AllowNull dependency property.
Declaration
public static readonly DependencyProperty AllowNullProperty
Field Value
System.Windows.DependencyProperty
|
CaretToEndOfTextOnFocusProperty
Identifies the CaretToEndOfTextOnFocus dependency property. Should be used in MaskedTextInput control only. When set to true, the caret will go to the end of text when receiving focus, no matter the value of SelectionOnFocus property.
Declaration
public static readonly DependencyProperty CaretToEndOfTextOnFocusProperty
Field Value
System.Windows.DependencyProperty
|
CoerceToMaximumProperty
Identifies the CoerceToMaximum attached property.
Declaration
public static readonly DependencyProperty CoerceToMaximumProperty
Field Value
System.Windows.DependencyProperty
|
IsEditorTabStopProperty
Identifies the IsEditorTabStop dependency property. If set to false the TextBox in the Template of the MaskedInputControl won't receive focus when tabbing with tab key.
Declaration
public static readonly DependencyProperty IsEditorTabStopProperty
Field Value
System.Windows.DependencyProperty
|
MaximumProperty
Identifies the Maximum dependency property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
System.Windows.DependencyProperty
|
MaxTextLengthProperty
Identifies the MaxTextLength dependency property.
Declaration
public static readonly DependencyProperty MaxTextLengthProperty
Field Value
System.Windows.DependencyProperty
|
MinimumProperty
Identifies the Minimum dependency property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
System.Windows.DependencyProperty
|
MinTextLengthProperty
Identifies the MinTextLength dependency property.
Declaration
public static readonly DependencyProperty MinTextLengthProperty
Field Value
System.Windows.DependencyProperty
|
RestrictInvalidTextProperty
Identifies the RestrictInvalidText dependency property. If set to true, then the display text will be restricted and will not be updated with invalid values.
Declaration
public static readonly DependencyProperty RestrictInvalidTextProperty
Field Value
System.Windows.DependencyProperty
|
SelectionStartOnSignChangedProperty
Identifies the SelectionStartOnSignChanged dependency property.
Declaration
public static readonly DependencyProperty SelectionStartOnSignChangedProperty
Field Value
System.Windows.DependencyProperty
|
UseCultureDigitsProperty
Identifies the UseCultureDigits dependency property.
Declaration
public static readonly DependencyProperty UseCultureDigitsProperty
Field Value
System.Windows.DependencyProperty
|
Methods
GetAllowMinusOnNullValue(DependencyObject)
Gets the value of AllowMinusOnNullValue attached property. This property is designed only for No-Masked Numeric and Currency Inputs.
Declaration
public static bool GetAllowMinusOnNullValue(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
GetAllowMinusOnZeroValue(DependencyObject)
Gets the value of AllowMinusOnZeroValue attached property.
Declaration
public static bool GetAllowMinusOnZeroValue(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
GetAllowNull(DependencyObject)
Declaration
public static bool GetAllowNull(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
GetCaretToEndOfTextOnFocus(DependencyObject)
Gets the value of CaretToEndOfTextOnFocus attached property.
Declaration
public static bool GetCaretToEndOfTextOnFocus(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
GetCoerceToMaximum(DependencyObject)
Declaration
public static bool GetCoerceToMaximum(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
GetIsEditorTabStop(DependencyObject)
Gets the IsEditorTabStop property.
Declaration
public static bool GetIsEditorTabStop(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
GetMaximum(DependencyObject)
Declaration
public static object GetMaximum(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Object
|
GetMaxTextLength(DependencyObject)
Declaration
public static int GetMaxTextLength(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Int32
|
GetMinimum(DependencyObject)
Declaration
public static object GetMinimum(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Object
|
GetMinTextLength(DependencyObject)
Declaration
public static int GetMinTextLength(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Int32
|
GetRestrictInvalidText(DependencyObject)
Gets the restrict invalid text.
Declaration
public static bool GetRestrictInvalidText(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The object. |
Returns
System.Boolean
|
GetSelectionStartOnSignChanged(DependencyObject)
Declaration
public static SelectionStartOnSignChanged GetSelectionStartOnSignChanged(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
SelectionStartOnSignChanged
|
GetUseCultureDigits(DependencyObject)
Declaration
public static bool GetUseCultureDigits(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
SetAllowMinusOnNullValue(DependencyObject, Boolean)
Sets the value of AllowMinusOnNullValue attached property. This property is designed only for No-Masked Numeric and Currency Inputs. Set is to true in order to allow inserting minus on null value.
Declaration
public static void SetAllowMinusOnNullValue(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
|
System.Boolean
value
|
SetAllowMinusOnZeroValue(DependencyObject, Boolean)
Sets the value of AllowMinusOnZeroValue attached property.
Declaration
public static void SetAllowMinusOnZeroValue(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
|
System.Boolean
value
|
SetAllowNull(DependencyObject, Boolean)
Declaration
public static void SetAllowNull(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
|
System.Boolean
value
|
SetCaretToEndOfTextOnFocus(DependencyObject, Boolean)
Sets the value of CaretToEndOfTextOnFocus attached property.
Declaration
public static void SetCaretToEndOfTextOnFocus(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
|
System.Boolean
value
|
SetCoerceToMaximum(DependencyObject, Boolean)
Declaration
public static void SetCoerceToMaximum(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
|
System.Boolean
value
|
SetIsEditorTabStop(DependencyObject, Boolean)
Sets the IsEditorTabStop property.
Declaration
public static void SetIsEditorTabStop(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
|
System.Boolean
value
|
SetMaximum(DependencyObject, Object)
Declaration
public static void SetMaximum(DependencyObject obj, object value)
Parameters
System.Windows.DependencyObject
obj
|
System.Object
value
|
SetMaxTextLength(DependencyObject, Int32)
Declaration
public static void SetMaxTextLength(DependencyObject obj, int value)
Parameters
System.Windows.DependencyObject
obj
|
System.Int32
value
|
SetMinimum(DependencyObject, Object)
Declaration
public static void SetMinimum(DependencyObject obj, object value)
Parameters
System.Windows.DependencyObject
obj
|
System.Object
value
|
SetMinTextLength(DependencyObject, Int32)
Declaration
public static void SetMinTextLength(DependencyObject obj, int value)
Parameters
System.Windows.DependencyObject
obj
|
System.Int32
value
|
SetRestrictInvalidText(DependencyObject, Boolean)
Sets the restrict invalid text.
Declaration
public static void SetRestrictInvalidText(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
The object. |
System.Boolean
value
If set to |
SetSelectionStartOnSignChanged(DependencyObject, SelectionStartOnSignChanged)
Declaration
public static void SetSelectionStartOnSignChanged(DependencyObject obj, SelectionStartOnSignChanged value)
Parameters
System.Windows.DependencyObject
obj
|
SelectionStartOnSignChanged
value
|
SetUseCultureDigits(DependencyObject, Boolean)
Declaration
public static void SetUseCultureDigits(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
|
System.Boolean
value
|
Validate(RadMaskedInputBase)
Validates the masked input extensions.
Declaration
public static void Validate(RadMaskedInputBase inputControl)
Parameters
RadMaskedInputBase
inputControl
The control to validate. |