Class
RadNumericInput

Represents a templated input control for numeric data.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class RadNumericInput : RadCompositeContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadNumericInput

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members RadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)

Constructors

RadNumericInput()

Initializes a new instance of the RadNumericInput class.

Declaration

cs-api-definition
public RadNumericInput()

Fields

ActualDecreaseButtonStyleProperty

Identifies the ActualDecreaseButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualDecreaseButtonStyleProperty

Field Value

BindableProperty

ActualIncreaseButtonStyleProperty

Identifies the ActualIncreaseButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualIncreaseButtonStyleProperty

Field Value

BindableProperty

ActualTextInputStyleProperty

Identifies the ActualTextInputStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualTextInputStyleProperty

Field Value

BindableProperty

BackgroundColorProperty

Identifies the BackgroundColor property.

Declaration

cs-api-definition
public static readonly BindableProperty BackgroundColorProperty

Field Value

BindableProperty

BackgroundProperty

Identifies the Background property.

Declaration

cs-api-definition
public static readonly BindableProperty BackgroundProperty

Field Value

BindableProperty

BorderBrushProperty

Identifies the BorderBrush property.

Declaration

cs-api-definition
public static readonly BindableProperty BorderBrushProperty

Field Value

BindableProperty

BorderThicknessProperty

Identifies the BorderThickness property.

Declaration

cs-api-definition
public static readonly BindableProperty BorderThicknessProperty

Field Value

BindableProperty

CornerRadiusProperty

Identifies the CornerRadius property.

Declaration

cs-api-definition
public static readonly BindableProperty CornerRadiusProperty

Field Value

BindableProperty

DecreaseButtonStyleProperty

Identifies the DecreaseButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty DecreaseButtonStyleProperty

Field Value

BindableProperty

DecreaseButtonTextProperty

Identifies the DecreaseButtonText property.

Declaration

cs-api-definition
public static readonly BindableProperty DecreaseButtonTextProperty

Field Value

BindableProperty

DecreaseCommandProperty

Identifies the DecreaseCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty DecreaseCommandProperty

Field Value

BindableProperty

IncreaseButtonStyleProperty

Identifies the IncreaseButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty IncreaseButtonStyleProperty

Field Value

BindableProperty

IncreaseButtonTextProperty

Identifies the IncreaseButtonText property.

Declaration

cs-api-definition
public static readonly BindableProperty IncreaseButtonTextProperty

Field Value

BindableProperty

IncreaseCommandProperty

Identifies the IncreaseCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty IncreaseCommandProperty

Field Value

BindableProperty

IsReadOnlyProperty

Identifies the IsReadOnly property.

Declaration

cs-api-definition
public static readonly BindableProperty IsReadOnlyProperty

Field Value

BindableProperty

MaximumProperty

Identifies the Maximum property.

Declaration

cs-api-definition
public static readonly BindableProperty MaximumProperty

Field Value

BindableProperty

MinimumProperty

Identifies the Minimum property.

Declaration

cs-api-definition
public static readonly BindableProperty MinimumProperty

Field Value

BindableProperty

MouseOverState

Represents the visual state name for mouse over state.

Declaration

cs-api-definition
public const string MouseOverState = "MouseOver"

Field Value

string

ReadOnlyFocusedState

Represents the visual state name for read-only focused state.

Declaration

cs-api-definition
public const string ReadOnlyFocusedState = "ReadOnlyFocused"

Field Value

string

ReadOnlyState

Represents the visual state name for read-only state.

Declaration

cs-api-definition
public const string ReadOnlyState = "ReadOnly"

Field Value

string

StepProperty

Identifies the Step property.

Declaration

cs-api-definition
public static readonly BindableProperty StepProperty

Field Value

BindableProperty

StringFormatProperty

Identifies the StringFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty StringFormatProperty

Field Value

BindableProperty

TextInputStyleProperty

Identifies the TextInputStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty TextInputStyleProperty

Field Value

BindableProperty

ValueProperty

Identifies the Value property.

Declaration

cs-api-definition
public static readonly BindableProperty ValueProperty

Field Value

BindableProperty

Properties

ActualDecreaseButtonStyle

Gets the actual style that is used to style the decrease button.

Declaration

cs-api-definition
public Style ActualDecreaseButtonStyle { get; }

Property Value

Style

ActualIncreaseButtonStyle

Gets the actual style that is used to style the increase button.

Declaration

cs-api-definition
public Style ActualIncreaseButtonStyle { get; }

Property Value

Style

ActualTextInputStyle

Gets the actual style that is used to style the text input.

Declaration

cs-api-definition
public Style ActualTextInputStyle { get; }

Property Value

Style

Background

Gets or sets the background brush of the control.

Declaration

cs-api-definition
[TypeConverter(typeof(BrushTypeConverter))]
public Brush Background { get; set; }

Property Value

Brush

BackgroundColor

Gets or sets the background color of the control.

Declaration

cs-api-definition
public Color BackgroundColor { get; set; }

Property Value

Color

BorderBrush

Gets or sets the border brush of the control.

Declaration

cs-api-definition
[TypeConverter(typeof(BrushTypeConverter))]
public Brush BorderBrush { get; set; }

Property Value

Brush

BorderThickness

Gets or sets the border thickness of the control.

Declaration

cs-api-definition
public Thickness BorderThickness { get; set; }

Property Value

Thickness

CornerRadius

Gets or sets the corner radius of the control.

Declaration

cs-api-definition
[TypeConverter(typeof(CornerRadiusTypeConverter))]
public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

DecreaseButtonStyle

Gets or sets the style of the decrease button.

Declaration

cs-api-definition
public Style DecreaseButtonStyle { get; set; }

Property Value

Style

DecreaseButtonText

Gets or sets a DecreaseButtonText.

Declaration

cs-api-definition
public string DecreaseButtonText { get; set; }

Property Value

string

DecreaseCommand

Gets or sets a DecreaseCommand.

Declaration

cs-api-definition
public ICommand DecreaseCommand { get; set; }

Property Value

ICommand

IncreaseButtonStyle

Gets or sets the style of the increase button.

Declaration

cs-api-definition
public Style IncreaseButtonStyle { get; set; }

Property Value

Style

IncreaseButtonText

Gets or sets a IncreaseButtonText.

Declaration

cs-api-definition
public string IncreaseButtonText { get; set; }

Property Value

string

IncreaseCommand

Gets or sets a IncreaseCommand.

Declaration

cs-api-definition
public ICommand IncreaseCommand { get; set; }

Property Value

ICommand

IsReadOnly

Gets or sets a IsReadOnly.

Declaration

cs-api-definition
public bool IsReadOnly { get; set; }

Property Value

bool

Maximum

Gets or sets a Maximum.

Declaration

cs-api-definition
public double Maximum { get; set; }

Property Value

double

Minimum

Gets or sets a Minimum.

Declaration

cs-api-definition
public double Minimum { get; set; }

Property Value

double

Step

Gets or sets a Step.

Declaration

cs-api-definition
public double Step { get; set; }

Property Value

double

StringFormat

Gets or sets a StringFormat.

Declaration

cs-api-definition
public string StringFormat { get; set; }

Property Value

string

TextInputStyle

Gets or sets the style of the text input.

Declaration

cs-api-definition
public Style TextInputStyle { get; set; }

Property Value

Style

Value

Gets or sets a Value.

Declaration

cs-api-definition
public double? Value { get; set; }

Property Value

double?

Methods

ChangeVisualState()

Declaration

cs-api-definition
protected override void ChangeVisualState()

Focus()

Attempts to set focus to this element.

Declaration

cs-api-definition
public bool Focus()

Returns

bool

OnApplyTemplate()

Called when the control template is applied.

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadCompositeContentView.OnApplyTemplate()

OnChildRemoved(Element, int)

Called when a child element is removed from the control.

Declaration

cs-api-definition
protected override void OnChildRemoved(Element child, int oldLogicalIndex)

Parameters

child

Element

The child element that was removed.

oldLogicalIndex

int

The old logical index of the child element.

Overrides RadContentView.OnChildRemoved(Element, int)

OnHandlerChanged()

Called when the handler for this control changes.

Declaration

cs-api-definition
protected override void OnHandlerChanged()

Overrides RadContentView.OnHandlerChanged()

OnPropertyChanged(string)

Called when a property value changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

The name of the property that changed.

Overrides RadCompositeContentView.OnPropertyChanged(string)

OnPropertyChanging(string)

Called when a property value is changing.

Declaration

cs-api-definition
protected override void OnPropertyChanging(string propertyName = null)

Parameters

propertyName

string

The name of the property that is changing.

Unfocus()

Unsets keyboard focus on this element.

Declaration

cs-api-definition
public void Unfocus()

Events

ValueChanged

Occures after the Value is changed.

Declaration

cs-api-definition
public event EventHandler<ValueChangedEventArgs<double?>> ValueChanged

Event Value

EventHandler<ValueChangedEventArgs<double?>>