File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
xamarin-android/SfNumericUpDown Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ Add the following code in the Main.axml to include `NumericUpDown` control.
35
35
android: layout_width ="match_parent"
36
36
android: layout_height ="match_parent">
37
37
38
- <com.syncfusion.numerictextbox.SfNumericTextBox
39
- android:id="@+id/sfNumericTextBox "
38
+ <com.syncfusion.numericupdown.SfNumericUpDown
39
+ android:id="@+id/sfNumericUpDown "
40
40
android:layout_height="wrap_content"
41
41
android:layout_width="fill_parent" />
42
42
@@ -61,9 +61,9 @@ public class MainActivity : Activity
61
61
62
62
SetContentView(Resource.Layout.content_main);
63
63
64
- SfNumericTextBox textBox = (SfNumericTextBox )FindViewById(Resource.Id.sfNumericTextBox );
64
+ SfNumericUpDown numericUpDown = (SfNumericUpDown )FindViewById(Resource.Id.sfNumericUpDown );
65
65
66
- textBox .Value = 30;
66
+ numericUpDown .Value = 30;
67
67
}
68
68
}
69
69
You can’t perform that action at this time.
0 commit comments