我正在處理下拉欄位。我正在使用 Syncfusion 的組合框。我的下拉選項向下打開。結果,選項隱藏在螢屏下方,因為它是最后一個欄位。我想向上打開選項。有什么辦法嗎?
問題圖片
代碼
<combobox:SfComboBox x:Name="inch"
HeightRequest="45"
WidthRequest="50"
HorizontalOptions="FillAndExpand"
Watermark="inch"
TextSize="15"
DropDownTextSize="14"
TextColor="#8793EF"
IsEnabled="{Binding isEnable}"
SelectedItem="{Binding Inch}"
ShowClearButton="False"
ShowBorder="False">
<combobox:SfComboBox.ComboBoxSource>
<ListCollection:List x:TypeArguments="x:String">
<x:String>0</x:String>
<x:String>1</x:String>
<x:String>2</x:String>
<x:String>3</x:String>
</ListCollection:List>
</combobox:SfComboBox.ComboBoxSource>
</combobox:SfComboBox>
uj5u.com熱心網友回復:
嘗試設定 SuggestionBoxPlacement 屬性。
SuggestionBoxPlacement="頂部"
檔案參考
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/470476.html
標籤:C# xml xamarin xamarin.forms 同步融合
上一篇:三態切換按鈕