Class TextInputBaseFieldDoubleExtensions
Namespace: Aspid.FastTools.UIElements
Assembly: Aspid.FastTools.dll
Provides extension methods for TextInputBaseField<T> of Double.
public static class TextInputBaseFieldDoubleExtensions
Inheritance
object ← TextInputBaseFieldDoubleExtensions
Methods
SetAutoCorrection<T>(T, bool)
Sets autoCorrection.
public static T SetAutoCorrection<T>(this T element, bool value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value bool
When true, the soft keyboard auto-corrects input.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetDelayed<T>(T, bool)
Sets isDelayed.
public static T SetDelayed<T>(this T element, bool value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value bool
When true, the value is committed only on Enter or when the field loses focus.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetHideMobileInput<T>(T, bool)
Sets hideMobileInput.
public static T SetHideMobileInput<T>(this T element, bool value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value bool
When true, the mobile input field is hidden.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetHidePlaceholderOnFocus<T>(T, bool)
Sets hidePlaceholderOnFocus of textEdition.
public static T SetHidePlaceholderOnFocus<T>(this T element, bool value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value bool
When true, the placeholder is hidden while the field has focus.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetHideSoftKeyboard<T>(T, bool)
Sets hideSoftKeyboard.
public static T SetHideSoftKeyboard<T>(this T element, bool value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value bool
When true, the soft keyboard is not shown.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetKeyboardType<T>(T, TouchScreenKeyboardType)
Sets keyboardType.
public static T SetKeyboardType<T>(this T element, TouchScreenKeyboardType value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value TouchScreenKeyboardType
The keyboard type to set.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetMaskChar<T>(T, char)
Sets maskChar.
public static T SetMaskChar<T>(this T element, char value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value char
The mask character to set.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetMaxLength<T>(T, int)
Sets maxLength.
public static T SetMaxLength<T>(this T element, int value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value int
The maximum character count to set.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetPassword<T>(T, bool)
Sets isPasswordField.
public static T SetPassword<T>(this T element, bool value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value bool
When true, input characters are masked.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetPlaceholder<T>(T, string)
Sets placeholder of textEdition.
public static T SetPlaceholder<T>(this T element, string value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value string
The placeholder text to set.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.
SetReadOnly<T>(T, bool)
Sets isReadOnly.
public static T SetReadOnly<T>(this T element, bool value) where T : TextInputBaseField<double>
Parameters
element T
The element to modify.
value bool
When true, the field is read-only.
Returns
T
The element, for chaining.
Type Parameters
T
The field type.