This is a migrated thread and some comments may be shown as answers.
UITextBox multiline ?
6 Answers 53 Views
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 06 Dec 2015, 10:17 AM

HI there,

How do you modify the UITextBox editor on TKDataForms to contain ie 5 lines of text, or even more (with scrolling).

I would like to be able to ie. enter a long description ...

Thanks.

6 Answers, 1 is accepted

Sort by
0
Adrian
Telerik team
answered on 10 Dec 2015, 08:22 AM
Hi, Tony,

Thank you for writing.

I apologize for the late reply. Currently TKDataForm does not support multiline text entry. This feature is already logged in our feedback portal and is scheduled for our Q1 release in January. I hope this time frame is OK for you.

If you have further questions, do not hesitate to contact us.

Regards,
Adrian
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
James
Top achievements
Rank 1
answered on 15 Aug 2016, 10:00 AM

Could you give an example of how to implement the multiline editor since it should now be completed please?

 

Thanks, James.

0
Adrian
Telerik team
answered on 17 Aug 2016, 03:10 PM
Hi, James,

To use the editor you should set the EditorClass property of TKEntityProperty like in the code snippet below:
this.dataSource ["Notes"].EditorClass = new Class (typeof(TKDataFormMultilineTextEditor));
I hope this helps.

Regards,
Adrian
Telerik by Progress
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
Kevin
Top achievements
Rank 1
answered on 02 Mar 2017, 11:55 PM

From the common PCL of a Xamarin.Forms project, is there a way to set a BindingContext property with an editor type of Telerik.XamarinForms.Input.EditorType.TextEditor to be multiline? For example, if the code is set up like this:

Model

public class ExampleModel : NotifyPropertyChangedBase
{
    [DisplayOptions(Header = "Comment")]
    public string Comment { get; set; }
}

Xaml code-behind

public partial class GroupPage : ContentPage
{
    public GroupPage(GroupBase group)
    {
        InitializeComponent();
 
        BindingContext = new ExampleModel();
    }
}

 

0
Rosy Topchiyska
Telerik team
answered on 07 Mar 2017, 04:23 PM
Hi Kevin,

Thank you for contacting us.

A multiline editor is not supported out of the box in Xamarin Forms, but you can use a custom data form renderer for each platform to set up a multiline editor. I have attached a sample that demonstrates how. Here you can find more information about editors.

Please, let us know if you have further questions.

Regards,
Rosy Topchiyska
Telerik by Progress
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
Kevin
Top achievements
Rank 1
answered on 07 Mar 2017, 04:45 PM

Rosy,

Thank you very much.

 

Asked by
Tony
Top achievements
Rank 1
Answers by
Adrian
Telerik team
James
Top achievements
Rank 1
Kevin
Top achievements
Rank 1
Rosy Topchiyska
Telerik team
Share this question
or