From 960d19d3146db6f1d62ebb682c7f14f167d7b9c0 Mon Sep 17 00:00:00 2001 From: NatarajanSF4844 Date: Wed, 8 Oct 2025 10:45:27 +0530 Subject: [PATCH] Update Basic-Features.md --- MAUI/NumericEntry/Basic-Features.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/MAUI/NumericEntry/Basic-Features.md b/MAUI/NumericEntry/Basic-Features.md index 4cf5b4e6f0..423e1b205d 100644 --- a/MAUI/NumericEntry/Basic-Features.md +++ b/MAUI/NumericEntry/Basic-Features.md @@ -278,6 +278,28 @@ The following image illustrates the result of the above code: ![HorizontalTextAlignment](GettingStarted_images/textalignment.png) +## Select text on focus + +The [`SelectAllOnFocus`]() property allows you to automatically select all the text in the numeric entry when the control gains focus. This can improve user efficiency by making it easy to replace the entire content. The default value of this property is `true`. + +{% tabs %} +{% highlight xaml %} + + + +{% endhighlight %} +{% highlight c# %} + +SfNumericEntry numericEntry = new SfNumericEntry(); +numericEntry.WidthRequest = 200; +numericEntry.Value = 123456; +numericEntry.SelectAllOnFocus = false; + +{% endhighlight %} +{% endtabs %} + ## ReturnType The `ReturnType` property specifies the return button (e.g., Next, Done, Go) of the keyboard. It helps manage the flow between multiple input fields by defining what happens when the action button is pressed.