ClassRadNumericInput
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
RadNumericInput()
Initializes a new instance of the RadNumericInput class.
Declaration
public RadNumericInput()
Fields
ActualDecreaseButtonStyleProperty
Identifies the ActualDecreaseButtonStyle property.
Declaration
public static readonly BindableProperty ActualDecreaseButtonStyleProperty
Field Value
BindableProperty
ActualIncreaseButtonStyleProperty
Identifies the ActualIncreaseButtonStyle property.
Declaration
public static readonly BindableProperty ActualIncreaseButtonStyleProperty
Field Value
BindableProperty
ActualTextInputStyleProperty
Identifies the ActualTextInputStyle property.
Declaration
public static readonly BindableProperty ActualTextInputStyleProperty
Field Value
BindableProperty
BackgroundColorProperty
Identifies the BackgroundColor property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
BindableProperty
BackgroundProperty
Identifies the Background property.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
BindableProperty
BorderBrushProperty
Identifies the BorderBrush property.
Declaration
public static readonly BindableProperty BorderBrushProperty
Field Value
BindableProperty
BorderThicknessProperty
Identifies the BorderThickness property.
Declaration
public static readonly BindableProperty BorderThicknessProperty
Field Value
BindableProperty
CornerRadiusProperty
Identifies the CornerRadius property.
Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
BindableProperty
DecreaseButtonStyleProperty
Identifies the DecreaseButtonStyle property.
Declaration
public static readonly BindableProperty DecreaseButtonStyleProperty
Field Value
BindableProperty
DecreaseButtonTextProperty
Identifies the DecreaseButtonText property.
Declaration
public static readonly BindableProperty DecreaseButtonTextProperty
Field Value
BindableProperty
DecreaseCommandProperty
Identifies the DecreaseCommand property.
Declaration
public static readonly BindableProperty DecreaseCommandProperty
Field Value
BindableProperty
IncreaseButtonStyleProperty
Identifies the IncreaseButtonStyle property.
Declaration
public static readonly BindableProperty IncreaseButtonStyleProperty
Field Value
BindableProperty
IncreaseButtonTextProperty
Identifies the IncreaseButtonText property.
Declaration
public static readonly BindableProperty IncreaseButtonTextProperty
Field Value
BindableProperty
IncreaseCommandProperty
Identifies the IncreaseCommand property.
Declaration
public static readonly BindableProperty IncreaseCommandProperty
Field Value
BindableProperty
IsReadOnlyProperty
Identifies the IsReadOnly property.
Declaration
public static readonly BindableProperty IsReadOnlyProperty
Field Value
BindableProperty
MaximumProperty
Identifies the Maximum property.
Declaration
public static readonly BindableProperty MaximumProperty
Field Value
BindableProperty
MinimumProperty
Identifies the Minimum property.
Declaration
public static readonly BindableProperty MinimumProperty
Field Value
BindableProperty
MouseOverState
Represents the visual state name for mouse over state.
ReadOnlyFocusedState
Represents the visual state name for read-only focused state.
Declaration
public const string ReadOnlyFocusedState = "ReadOnlyFocused"
Field Value
ReadOnlyState
Represents the visual state name for read-only state.
StepProperty
Identifies the Step property.
Declaration
public static readonly BindableProperty StepProperty
Field Value
BindableProperty
StringFormatProperty
Identifies the StringFormat property.
Declaration
public static readonly BindableProperty StringFormatProperty
Field Value
BindableProperty
TextInputStyleProperty
Identifies the TextInputStyle property.
Declaration
public static readonly BindableProperty TextInputStyleProperty
Field Value
BindableProperty
ValueProperty
Identifies the Value property.
Declaration
public static readonly BindableProperty ValueProperty
Field Value
BindableProperty
Properties
ActualDecreaseButtonStyle
Gets the actual style that is used to style the decrease button.
Declaration
public Style ActualDecreaseButtonStyle { get; }
Property Value
Style
ActualIncreaseButtonStyle
Gets the actual style that is used to style the increase button.
Declaration
public Style ActualIncreaseButtonStyle { get; }
Property Value
Style
ActualTextInputStyle
Gets the actual style that is used to style the text input.
Declaration
public Style ActualTextInputStyle { get; }
Property Value
Style
Background
Gets or sets the background brush of the control.
Declaration
[TypeConverter(typeof(BrushTypeConverter))]
public Brush Background { get; set; }
Property Value
Brush
BackgroundColor
Gets or sets the background color of the control.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Color
BorderBrush
Gets or sets the border brush of the control.
Declaration
[TypeConverter(typeof(BrushTypeConverter))]
public Brush BorderBrush { get; set; }
Property Value
Brush
BorderThickness
Gets or sets the border thickness of the control.
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Thickness
CornerRadius
Gets or sets the corner radius of the control.
Declaration
[TypeConverter(typeof(CornerRadiusTypeConverter))]
public CornerRadius CornerRadius { get; set; }
Property Value
CornerRadius
DecreaseButtonStyle
Gets or sets the style of the decrease button.
Declaration
public Style DecreaseButtonStyle { get; set; }
Property Value
Style
DecreaseButtonText
Gets or sets a DecreaseButtonText.
DecreaseCommand
Gets or sets a DecreaseCommand.
IncreaseButtonStyle
Gets or sets the style of the increase button.
Declaration
public Style IncreaseButtonStyle { get; set; }
Property Value
Style
IncreaseButtonText
Gets or sets a IncreaseButtonText.
IncreaseCommand
Gets or sets a IncreaseCommand.
IsReadOnly
Gets or sets a IsReadOnly.
StringFormat
Gets or sets a StringFormat.
TextInputStyle
Gets or sets the style of the text input.
Declaration
public Style TextInputStyle { get; set; }
Property Value
Style
Methods
ChangeVisualState()
Declaration
protected override void ChangeVisualState()
Focus()
Attempts to set focus to this element.
OnApplyTemplate()
Called when the control template is applied.
Declaration
protected override void OnApplyTemplate()
Overrides
OnChildRemoved(Element, int)
Called when a child element is removed from the control.
Declaration
protected override void OnChildRemoved(Element child, int oldLogicalIndex)
Parameters
child
Element
The child element that was removed.
oldLogicalIndex
The old logical index of the child element.
Overrides
OnHandlerChanged()
Called when the handler for this control changes.
Declaration
protected override void OnHandlerChanged()
Overrides
OnPropertyChanged(string)
Called when a property value changes.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
The name of the property that changed.
Overrides
OnPropertyChanging(string)
Called when a property value is changing.
Declaration
protected override void OnPropertyChanging(string propertyName = null)
Parameters
propertyName
The name of the property that is changing.
Events
ValueChanged
Occures after the Value is changed.
Declaration
public event EventHandler<ValueChangedEventArgs<double?>> ValueChanged
Event Value