【发布时间】:2019-10-01 01:45:14
【问题描述】:
我正在尝试使用 Xamarin 表单创建自动完成文本条目。我能够使用 dotmorten.xamarin.forms.autosuggestbox(https://github.com/dotMorten/XamarinFormsControls/tree/master/AutoSuggestBox 完成该功能。我面临的问题是我无法使用此控件更改字体大小和边框宽度。我希望它看起来像一个条目只有底部边框的字段,但它看起来更像是一个 Box 条目。有没有办法自定义它或者是否有任何其他控件/方式来实现类似的功能。
感谢任何帮助!
<dm:AutoSuggestBox Grid.Row="4" Grid.Column="0" Margin="20,0,20,0" x:Name="Customer_Name" ItemsSource="{Binding SelectedCustomerList}"
PlaceholderText="Enter customer name" TextColor="#626366" BackgroundColor="White"
TextChanged="CustSuggestionBox_TextChanged"
QuerySubmitted="CustSuggestionBox_QuerySubmitted" />
【问题讨论】:
标签: xamarin.forms uwp autosuggest