Is there a Telerik control that handles basic multi-line text and text selection?

2 Answers 192 Views
DataForm Entry RichTextEditor
Mark
Top achievements
Rank 3
Iron
Iron
Iron
Mark asked on 22 Nov 2023, 08:31 PM
I have tried the Entry control (RadEntry) this seems to be single line text

I have tried the RadRichTextEditor, this is only html, does this have a plain text mode?

I have tried RadDataForm with DataFormMultiLineEditor which has multi line text but cant seem to get a text selection.

Is there no a multi line text box that we can use in MAUI?
I have tried the standard Editor but the Text Selection seems odd and cannot figure that out?

This seems like an obvious control to have in the suite? Any ideas?

2 Answers, 1 is accepted

Sort by
1
Accepted
Didi
Telerik team
answered on 23 Nov 2023, 02:52 PM

Hello Mark,

To answer your questions, the Telerik Entry is a single line editor. For multiline support, we have a feature request: https://feedback.telerik.com/maui/1569587-entry-provide-multiline-scrolling-support Cast your vote and follow the item. 

I am glad to hear you found a solution with the MAUI Editor control. 

Regards,
Didi
Progress Telerik

A brand new .NET MAUI course was just added to the Virtual Classroom. The training course is developed to help you get started with the Telerik UI for .NET MAUI components and features. It aims to put you in the shoes of an engineer who adds new features to an existing application. You can check it out at https://learn.telerik.com
0
Mark
Top achievements
Rank 3
Iron
Iron
Iron
answered on 23 Nov 2023, 12:33 PM
ok, I have managed to use the standard Editor and the SelectedLength and CursorPosition to do what I need


<Editor Grid.Row="1" Grid.Column="0" 
    x:Name="Editor" 
    Margin="0,0,0,0"
    AutoSize="TextChanges"
    FlowDirection="LeftToRight" 
    FontSize="14"
    VerticalOptions="Start"
    HorizontalOptions="Fill"
    Text="{Binding EditorText, Mode=TwoWay}" 
    SelectionLength="{Binding EditorSelectionLength, Mode=TwoWay}"
    CursorPosition="{Binding EditorCursorPosition, Mode=TwoWay}"
/>

Tags
DataForm Entry RichTextEditor
Asked by
Mark
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Didi
Telerik team
Mark
Top achievements
Rank 3
Iron
Iron
Iron
Share this question
or