Xamarin.forms Forms,在编辑器中设置MaxLines

Xamarin.forms Forms,在编辑器中设置MaxLines,xamarin.forms,Xamarin.forms,我有一个编辑: <Editor Margin="10,0,10,10" x:Name="entry_descri_pickcate" FontFamily="arial"

我有一个编辑:

                            <Editor
                                 Margin="10,0,10,10"
                                 x:Name="entry_descri_pickcate" 
                                 FontFamily="arial"
                                 MaxLength="190"                                  
                                 FontSize="14"
                                 TextColor="#dfdfdf"
                                 BackgroundColor="#00000000"
                                 PlaceholderColor="#dfdfdf"
                                 Placeholder="Beschreibung ..." 
                                  />

此编辑器具有“最大长度”属性,但没有“最大线”属性。这会导致任何人破坏我们的布局。我们的目标不是禁止换行,但在某些情况下必须禁止换行

我如何做到这一点


谢谢

目前不支持MaxLines属性。但它将在GitHub上报告。

此功能已添加到增强中。请跟踪进度