Selection Support in Xamarin Numeric Entry (SfNumericTextBox)

19 May 20211 minute to read

SelectAllOnFocus the property is used to specify whether the text should be selected when the control gets focus.

<numeric:SfNumericTextBox SelectAllOnFocus="True" Value="12345"/>
SfNumericTextBox numericTextBox=new SfNumericTextBox();
numericTextBox.Value=12345;
numericTextBox.SelectAllOnFocus = true;
this.Content = numericTextBox;

Display the value with selection mode