How do I set the height of an editor in Xamarin.Forms
10,850
Editor is a control that can edit multiple lines of text.
You can set the height by HeightRequest
property. Read about it here.
From Code :
var descriptionEntry = new Editor { HeightRequest = 50 };
From XAML :
<Editor HeightRequest = "50" />
You have more samples on Editor here.
Author by
avsln
I am a .NET Web Developer working primarily on Security. I also love working on design patterns and am a big fan of Unit Testing.
Updated on June 11, 2022Comments
-
avsln about 2 years
I am trying to create an app that has an editor and I was not able to successfully set the height for the editor field. Basically it is a feedback form kind of thing and I want users to be able to see more than one line of text that they are typing.