RadNumericInput
Represents a templated input control for numeric data.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadNumericInput : RadCompositeContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadNumericInput
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadNumericInput class.
public RadNumericInput()
Fields
ActualDecreaseButtonStyleProperty
BindableProperty
Identifies the ActualDecreaseButtonStyle property.
public static readonly BindableProperty ActualDecreaseButtonStyleProperty
ActualIncreaseButtonStyleProperty
BindableProperty
Identifies the ActualIncreaseButtonStyle property.
public static readonly BindableProperty ActualIncreaseButtonStyleProperty
ActualTextInputStyleProperty
BindableProperty
Identifies the ActualTextInputStyle property.
public static readonly BindableProperty ActualTextInputStyleProperty
BackgroundColorProperty
BindableProperty
Identifies the BackgroundColor property.
public static readonly BindableProperty BackgroundColorProperty
BackgroundProperty
BindableProperty
Identifies the Background property.
public static readonly BindableProperty BackgroundProperty
BorderBrushProperty
BindableProperty
Identifies the BorderBrush property.
public static readonly BindableProperty BorderBrushProperty
BorderThicknessProperty
BindableProperty
Identifies the BorderThickness property.
public static readonly BindableProperty BorderThicknessProperty
CornerRadiusProperty
BindableProperty
Identifies the CornerRadius property.
public static readonly BindableProperty CornerRadiusProperty
DecreaseButtonStyleProperty
BindableProperty
Identifies the DecreaseButtonStyle property.
public static readonly BindableProperty DecreaseButtonStyleProperty
DecreaseButtonTextProperty
BindableProperty
Identifies the DecreaseButtonText property.
public static readonly BindableProperty DecreaseButtonTextProperty
DecreaseCommandProperty
BindableProperty
Identifies the DecreaseCommand property.
public static readonly BindableProperty DecreaseCommandProperty
IncreaseButtonStyleProperty
BindableProperty
Identifies the IncreaseButtonStyle property.
public static readonly BindableProperty IncreaseButtonStyleProperty
IncreaseButtonTextProperty
BindableProperty
Identifies the IncreaseButtonText property.
public static readonly BindableProperty IncreaseButtonTextProperty
IncreaseCommandProperty
BindableProperty
Identifies the IncreaseCommand property.
public static readonly BindableProperty IncreaseCommandProperty
IsReadOnlyProperty
BindableProperty
Identifies the IsReadOnly property.
public static readonly BindableProperty IsReadOnlyProperty
MaximumProperty
BindableProperty
Identifies the Maximum property.
public static readonly BindableProperty MaximumProperty
MinimumProperty
BindableProperty
Identifies the Minimum property.
public static readonly BindableProperty MinimumProperty
Represents the visual state name for mouse over state.
public const string MouseOverState = "MouseOver"
Represents the visual state name for read-only focused state.
public const string ReadOnlyFocusedState = "ReadOnlyFocused"
Represents the visual state name for read-only state.
public const string ReadOnlyState = "ReadOnly"
StepProperty
BindableProperty
Identifies the Step property.
public static readonly BindableProperty StepProperty
StringFormatProperty
BindableProperty
Identifies the StringFormat property.
public static readonly BindableProperty StringFormatProperty
TextInputStyleProperty
BindableProperty
Identifies the TextInputStyle property.
public static readonly BindableProperty TextInputStyleProperty
ValueProperty
BindableProperty
Identifies the Value property.
public static readonly BindableProperty ValueProperty
Properties
Gets the actual style that is used to style the decrease button.
public Style ActualDecreaseButtonStyle { get; }
Gets the actual style that is used to style the increase button.
public Style ActualIncreaseButtonStyle { get; }
ActualTextInputStyle
Style
Gets the actual style that is used to style the text input.
public Style ActualTextInputStyle { get; }
Background
Brush
Gets or sets the background brush of the control.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush Background { get; set; }
BackgroundColor
Color
Gets or sets the background color of the control.
public Color BackgroundColor { get; set; }
BorderBrush
Brush
Gets or sets the border brush of the control.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush BorderBrush { get; set; }
BorderThickness
Thickness
Gets or sets the border thickness of the control.
public Thickness BorderThickness { get; set; }
CornerRadius
CornerRadius
Gets or sets the corner radius of the control.
[TypeConverter(typeof(CornerRadiusTypeConverter))]
public CornerRadius CornerRadius { get; set; }
DecreaseButtonStyle
Style
Gets or sets the style of the decrease button.
public Style DecreaseButtonStyle { get; set; }
Gets or sets a DecreaseButtonText.
public string DecreaseButtonText { get; set; }
Gets or sets a DecreaseCommand.
public ICommand DecreaseCommand { get; set; }
IncreaseButtonStyle
Style
Gets or sets the style of the increase button.
public Style IncreaseButtonStyle { get; set; }
Gets or sets a IncreaseButtonText.
public string IncreaseButtonText { get; set; }
Gets or sets a IncreaseCommand.
public ICommand IncreaseCommand { get; set; }
Gets or sets a IsReadOnly.
public bool IsReadOnly { get; set; }
Gets or sets a StringFormat.
public string StringFormat { get; set; }
TextInputStyle
Style
Gets or sets the style of the text input.
public Style TextInputStyle { get; set; }
Methods
protected override void ChangeVisualState()
Called when the control template is applied.
protected override void OnApplyTemplate()
Overrides:
Called when a child element is removed from the control.
protected override void OnChildRemoved(Element child, int oldLogicalIndex)
The child element that was removed.
oldLogicalIndexintThe old logical index of the child element.
Overrides:
Called when the handler for this control changes.
protected override void OnHandlerChanged()
Overrides:
Called when a property value changes.
protected override void OnPropertyChanged(string propertyName = null)
The name of the property that changed.
Overrides:
Called when a property value is changing.
protected override void OnPropertyChanging(string propertyName = null)
The name of the property that is changing.
Unsets keyboard focus on this element.
public void Unfocus()
Events
Occures after the Value is changed.
public event EventHandler<ValueChangedEventArgs<double?>> ValueChanged