Unable to customize SfComboBox DropDown Icon

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>

3 Replies

SS Suganya Sethuraman Syncfusion Team October 13, 2021 08:05 AM UTC

Hi Kiran,

Greetings from Syncfusion.

We have analyzed your query. We have created a sample that combines a SfComboBox with a DropDown button's CustomView.

Code snippet
 
        <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> 
 


Please have a sample for your reference,

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ComboBoxCustomView-177970881

Please check if the sample satisfies your requirement and let us know if you have any concerns.

Regards,
Suganya Sethuraman.
 
 



KA Kiran Avula October 27, 2021 12:34 PM UTC

Forgot to mention. sfcombobox is inside sftextinputlayout. The above solution not worked



SS Suganya Sethuraman Syncfusion Team October 28, 2021 10:18 AM UTC

Hi Kiran,

Currently we do not have support to achieve your requirement “Support for SfComboBox drop-down button customization in SfTextInputLayout” but we have already logged this as a feature request, and you can track the status of this feature implements through the below link.

Feedback link: https://www.syncfusion.com/feedback/11655/support-for-sfcombobox-drop-down-button-customization-in-sftextinputlayout

Please cast your vote to make it count. We will prioritize the features every release based on the demands.

If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal.

Regards,
Suganya Sethuraman.
 
 


Loader.
Up arrow icon