From dcdeab8ccaf0c410228ef6dbbdeb696e27566f38 Mon Sep 17 00:00:00 2001 From: EswaranSyncfusion Date: Wed, 30 Mar 2022 13:08:19 +0530 Subject: [PATCH] XAMARIN-42866 Update the code snippet for loading control from xml --- xamarin-android/SfNumericUpDown/getting-started.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xamarin-android/SfNumericUpDown/getting-started.md b/xamarin-android/SfNumericUpDown/getting-started.md index 388b0409..60594f10 100644 --- a/xamarin-android/SfNumericUpDown/getting-started.md +++ b/xamarin-android/SfNumericUpDown/getting-started.md @@ -35,8 +35,8 @@ Add the following code in the Main.axml to include `NumericUpDown` control. android:layout_width="match_parent" android:layout_height="match_parent"> - @@ -61,9 +61,9 @@ public class MainActivity : Activity SetContentView(Resource.Layout.content_main); - SfNumericTextBox textBox = (SfNumericTextBox)FindViewById(Resource.Id.sfNumericTextBox); + SfNumericUpDown numericUpDown = (SfNumericUpDown)FindViewById(Resource.Id.sfNumericUpDown); - textBox.Value = 30; + numericUpDown.Value = 30; } }