5 Answers, 1 is accepted
0
Hello Haluu,
I'm assuming you're referring to a NumericUpDown or NumericBox type of control? Currently, there is no Xamarin.Forms control for this.
You can however create a custom renderer and use the native control. Tor example, for the UWP app, you can use the RadNumericBox from UI for UWP. For Android, you can use the Telerik NumberPicker. For iOS, you'll have to create your own.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
I'm assuming you're referring to a NumericUpDown or NumericBox type of control? Currently, there is no Xamarin.Forms control for this.
You can however create a custom renderer and use the native control. Tor example, for the UWP app, you can use the RadNumericBox from UI for UWP. For Android, you can use the Telerik NumberPicker. For iOS, you'll have to create your own.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0

wil
Top achievements
Rank 1
answered on 16 Nov 2017, 01:14 AM
Oh, I see but telerik dataform seems to create the plus/minus button. Is that correct?
0
Hi Haluu,
Yes, we create the native controls for the native platforms, this is how all of the editors work internally.
It's just that with the integer editor, there is not a pre-existing Xamarin.Forms control. Therefore, if you want a standalone NumericBox, you'll need to create one on the native platform, which is done using a Custom Renderer.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Yes, we create the native controls for the native platforms, this is how all of the editors work internally.
It's just that with the integer editor, there is not a pre-existing Xamarin.Forms control. Therefore, if you want a standalone NumericBox, you'll need to create one on the native platform, which is done using a Custom Renderer.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0

wil
Top achievements
Rank 1
answered on 17 Nov 2017, 02:47 AM
Ok, one more question then
How can I make TextEditor as multi-line editor? There is no EditorType.MultilineTextEditor.
thanks much
0
Hi Haluu,
For anything outside of the shipped editors, you'll need to make your own custom editor. See here for how to create a custom editor, you'll see the overrides listed for each platform.
To summarize, you need to create renderers for each platform then assign it to the DataForm in the Xamarin.Forms project like this:
You can also find examples of custom editors in the SDKBrowser demo, see here for a description of the demos.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
For anything outside of the shipped editors, you'll need to make your own custom editor. See here for how to create a custom editor, you'll see the overrides listed for each platform.
To summarize, you need to create renderers for each platform then assign it to the DataForm in the Xamarin.Forms project like this:
dataForm.RegisterEditor(
"MyPropertyThatNeedsMultilineEditor"
, EditorType.Custom);
You can also find examples of custom editors in the SDKBrowser demo, see here for a description of the demos.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items