[forms-devel] Xamarin forms Label control - LineBreakMode

Glenn Versweyveld glenn.versweyveld at gmail.com
Mon Jun 20 13:16:32 UTC 2016


Hey,

Sorry if this has already been asked, but new on the list :)

Is there any way to propose to add an extra dependency property on the
Label control in Xamarin forms?
Would like to see a MaxLines ( or similar ) so that we can combine this
with LineBreakMode.

Now the default behavior on Android is that when you set LineBreakMode to
TailTruncation it will set the TextView to SetSingleLine(true).
So I would like to be able to use MaxLines = 2 and that is will set
TextView.SetMaxLines(2) instead of the single line option.

Cheers
Glenn

-- 
twitter: @Depechie <http://twitter.com/depechie>
blog: DepBlog <http://depblog.weblogs.us/>
linkedin: http://www.linkedin.com/in/depechie

*Microsoft Most Valuable Professional (MVP) - Windows Platform Development
<http://mvp.microsoft.com/en-us/mvp/Glenn%20Versweyveld-5000533>*
*Microsoft MEET member
<http://www.microsoft.com/belux/meet/#Glenn+Versweyveld>*
*Board member of the MADN usergroup <http://madn.be/>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/forms-devel/attachments/20160620/286a9ced/attachment.html>


More information about the forms-devel mailing list