New to Telerik UI for .NET MAUIStart a free 30-day trial

Add a Placeholder in NumericInput

Updated over 6 months ago

Environment

VersionProductAuthor
5.1.0Telerik UI for .NET MAUI NumericInputDobrinka Yordanova

Description

This article explains how to style and customize the entry inside the NumericInput control.

Solution

The NumericInput control has an EntryStyle property which is used to style the Entry control.

For example, if you want to add a placeholder to the control you can achieve this by setting the Placeholder to the EntryStyle:

XAML
<telerik:RadNumericInput Grid.Row="3" Value="{x:Null}" EntryStyle="{StaticResource entry}">

And the entry style defined in the resources:

XAML
<Style TargetType="telerik:RadEntry" x:Key="entry">
    <Setter Property="Placeholder" Value="hello"/>
 </Style>
In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support