Hi Team,
We are trying to customize SfComboBox DropDown icon. We added below code from the SfComboBox documentation. Even After this we can see the default icon and Lable does not show up in place of the icon. Could you send us sample code.
<comboBox:SfComboBox.DropDownButtonSettings> <comboBox:DropDownButtonSettings Width="40" Height="40"> <comboBox:DropDownButtonSettings.View> <Label WidthRequest="30" Text="Click" HorizontalTextAlignment="Center" VerticalTextAlignment="Center"/> </comboBox:DropDownButtonSettings.View> </comboBox:DropDownButtonSettings></comboBox:SfComboBox.DropDownButtonSettings>
|
<sfComboBox:SfComboBox x:Name="cmbFavList"
HeightRequest="60"
DataSource ="{Binding EmployeeCollection}"
DisplayMemberPath="Name"
MultiSelectMode="Token"
>
<sfComboBox:SfComboBox.DropDownButtonSettings>
<sfComboBox:DropDownButtonSettings Width="40" Height="40">
<sfComboBox:DropDownButtonSettings.View>
<Label WidthRequest="30" Text="Click" HorizontalTextAlignment="Center" VerticalTextAlignment="Center"/>
</sfComboBox:DropDownButtonSettings.View>
</sfComboBox:DropDownButtonSettings>
</sfComboBox:SfComboBox.DropDownButtonSettings>
</sfComboBox:SfComboBox> |
Forgot to mention. sfcombobox is inside sftextinputlayout. The above solution not worked