skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadNumericInput

Represents a templated input control for numeric data.

Inheritance
System.Object
RadContentView
RadCompositeContentView
RadNumericInput
Inherited Members
RadCompositeContentView.StyleProperty
RadCompositeContentView.ControlTemplateProperty
RadCompositeContentView.OnBindingContextChanged()
RadCompositeContentView.Style
RadCompositeContentView.ControlTemplate
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll

Syntax

public class RadNumericInput : RadCompositeContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

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
Microsoft.Maui.Controls.BindableProperty

ActualIncreaseButtonStyleProperty

Identifies the ActualIncreaseButtonStyle property.

Declaration
public static readonly BindableProperty ActualIncreaseButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualTextInputStyleProperty

Identifies the ActualTextInputStyle property.

Declaration
public static readonly BindableProperty ActualTextInputStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

BackgroundColorProperty

Identifies the BackgroundColor property.

Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

BackgroundProperty

Identifies the Background property.

Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

BorderBrushProperty

Identifies the BorderBrush property.

Declaration
public static readonly BindableProperty BorderBrushProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

BorderThicknessProperty

Identifies the BorderThickness property.

Declaration
public static readonly BindableProperty BorderThicknessProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

CornerRadiusProperty

Identifies the CornerRadius property.

Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DecreaseButtonStyleProperty

Identifies the DecreaseButtonStyle property.

Declaration
public static readonly BindableProperty DecreaseButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DecreaseButtonTextProperty

Identifies the DecreaseButtonText property.

Declaration
public static readonly BindableProperty DecreaseButtonTextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DecreaseCommandProperty

Identifies the DecreaseCommand property.

Declaration
public static readonly BindableProperty DecreaseCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IncreaseButtonStyleProperty

Identifies the IncreaseButtonStyle property.

Declaration
public static readonly BindableProperty IncreaseButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IncreaseButtonTextProperty

Identifies the IncreaseButtonText property.

Declaration
public static readonly BindableProperty IncreaseButtonTextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IncreaseCommandProperty

Identifies the IncreaseCommand property.

Declaration
public static readonly BindableProperty IncreaseCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsReadOnlyProperty

Identifies the IsReadOnly property.

Declaration
public static readonly BindableProperty IsReadOnlyProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MaximumProperty

Identifies the Maximum property.

Declaration
public static readonly BindableProperty MaximumProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MinimumProperty

Identifies the Minimum property.

Declaration
public static readonly BindableProperty MinimumProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MouseOverState

Represents the visual state name for mouse over state.

Declaration
public const string MouseOverState = "MouseOver"
Field Value
System.String

ReadOnlyFocusedState

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

Declaration
public const string ReadOnlyFocusedState = "ReadOnlyFocused"
Field Value
System.String

ReadOnlyState

Represents the visual state name for read-only state.

Declaration
public const string ReadOnlyState = "ReadOnly"
Field Value
System.String

StepProperty

Identifies the Step property.

Declaration
public static readonly BindableProperty StepProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

StringFormatProperty

Identifies the StringFormat property.

Declaration
public static readonly BindableProperty StringFormatProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

TextInputStyleProperty

Identifies the TextInputStyle property.

Declaration
public static readonly BindableProperty TextInputStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ValueProperty

Identifies the Value property.

Declaration
public static readonly BindableProperty ValueProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

ActualDecreaseButtonStyle

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

Declaration
public Style ActualDecreaseButtonStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualIncreaseButtonStyle

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

Declaration
public Style ActualIncreaseButtonStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualTextInputStyle

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

Declaration
public Style ActualTextInputStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

Background

Gets or sets the background brush of the control.

Declaration
public Brush Background { get; set; }
Property Value
Microsoft.Maui.Controls.Brush

BackgroundColor

Gets or sets the background color of the control.

Declaration
public Color BackgroundColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color

BorderBrush

Gets or sets the border brush of the control.

Declaration
public Brush BorderBrush { get; set; }
Property Value
Microsoft.Maui.Controls.Brush

BorderThickness

Gets or sets the border thickness of the control.

Declaration
public Thickness BorderThickness { get; set; }
Property Value
Microsoft.Maui.Thickness

CornerRadius

Gets or sets the corner radius of the control.

Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
Microsoft.Maui.CornerRadius

DecreaseButtonStyle

Gets or sets the style of the decrease button.

Declaration
public Style DecreaseButtonStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

DecreaseButtonText

Gets or sets a DecreaseButtonText.

Declaration
public string DecreaseButtonText { get; set; }
Property Value
System.String

DecreaseCommand

Gets or sets a DecreaseCommand.

Declaration
public ICommand DecreaseCommand { get; set; }
Property Value
System.Windows.Input.ICommand

IncreaseButtonStyle

Gets or sets the style of the increase button.

Declaration
public Style IncreaseButtonStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

IncreaseButtonText

Gets or sets a IncreaseButtonText.

Declaration
public string IncreaseButtonText { get; set; }
Property Value
System.String

IncreaseCommand

Gets or sets a IncreaseCommand.

Declaration
public ICommand IncreaseCommand { get; set; }
Property Value
System.Windows.Input.ICommand

IsReadOnly

Gets or sets a IsReadOnly.

Declaration
public bool IsReadOnly { get; set; }
Property Value
System.Boolean

Maximum

Gets or sets a Maximum.

Declaration
public double Maximum { get; set; }
Property Value
System.Double

Minimum

Gets or sets a Minimum.

Declaration
public double Minimum { get; set; }
Property Value
System.Double

Step

Gets or sets a Step.

Declaration
public double Step { get; set; }
Property Value
System.Double

StringFormat

Gets or sets a StringFormat.

Declaration
public string StringFormat { get; set; }
Property Value
System.String

TextInputStyle

Gets or sets the style of the text input.

Declaration
public Style TextInputStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

Value

Gets or sets a Value.

Declaration
public Nullable<double> Value { get; set; }
Property Value
System.Nullable<System.Double>

Methods

ChangeVisualState()

Declaration
protected override void ChangeVisualState()

Focus()

Attempts to set focus to this element.

Declaration
public bool Focus()
Returns
System.Boolean

OnApplyTemplate()

Called when the control template is applied.

Declaration
protected override void OnApplyTemplate()
Overrides
RadCompositeContentView.OnApplyTemplate()

OnChildRemoved(Element, Int32)

Called when a child element is removed from the control.

Declaration
protected override void OnChildRemoved(Element child, int oldLogicalIndex)
Parameters
Microsoft.Maui.Controls.Element child

The child element that was removed.

System.Int32 oldLogicalIndex

The old logical index of the child element.

Overrides
RadContentView.OnChildRemoved(Element, Int32)

OnHandlerChanged()

Called when the handler for this control changes.

Declaration
protected override void OnHandlerChanged()
Overrides
RadContentView.OnHandlerChanged()

OnPropertyChanged(String)

Called when a property value changes.

Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String propertyName

The name of the property that changed.

Overrides
RadCompositeContentView.OnPropertyChanged(String)

OnPropertyChanging(String)

Called when a property value is changing.

Declaration
protected override void OnPropertyChanging(string propertyName = null)
Parameters
System.String propertyName

The name of the property that is changing.

Unfocus()

Unsets keyboard focus on this element.

Declaration
public void Unfocus()

Events

ValueChanged

Occures after the Value is changed.

Declaration
public event EventHandler<ValueChangedEventArgs<Nullable<double>>> ValueChanged
Event Type
System.EventHandler<ValueChangedEventArgs<System.Nullable<System.Double>>>

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.