how can i change the Background and Textcolor of the Displayed Selection using the RessourceDirectory in the App.xaml file?
Thanks for reaching out to Syncfusion Support
We couldn't able to get your exact requirement on SfComboBox. It was unclear whether you wanted to customize the selected item in the entry field or in the drop-down list. It would be helpful if you could provide more detailed information about this requirement, in order to better understand and investigate further the issue.
i want an answer for both please.
there the details.
Currently, SfComboBox doesn't support the selectedItem customization both in the entry field and the drop-down list.
We have already received a feature request for DropDown customization, SelectedTextColor support and are actively working on its implementation. You can follow the progress of this request using the following feedback link. And also we planned for ItemTemplate Property after the dropdown customization support.
We anticipate that this feature will be included in our Volume 1 main release of 2023, tentatively scheduled for the end of March/2023. If you have any additional specifications or suggestions for this feature request, you can add them as a comment in the portal. We will provide release details in the feedback itself."
Unfortunately, we could not include the feature of color customization for the dropdown of the SfComboBox Control in the Volume 1 main release. However, we have scheduled to incorporate this support in the upcoming Volume 2 main release, which is expected to be available by the end of June 2023. We apologize for any inconvenience caused by this delay.
Really that long?
I have the same problem with the backgroundcolor of the dropdown.
Thijs van Rijswijk
As previously mentioned, we have planned to include this support in the upcoming major release of Volume 2, which is anticipated to be available by the end of June 2023. We will inform you once it is implemented, and we appreciate your patience until that time.
Hi Thijs van Rijswijk,
You can use the PropertyChanged Event and the IsDropDownOpen Property as a Workaround for now.
private void SfComboBox_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
if (e.PropertyName is nameof(SfComboBox.IsDropDownOpen) && sender is SfComboBox cb)
cb.TextColor = Color.FromArgb("#000000");
cb.TextColor = Color.FromArgb("#FFFFFF");
It isn't pretty but better than an unreadable DropDown.
We are glad to announce that our Essential Studio 2023 Volume 2 Main Release v22.1.34 is rolled out and is available for download under the following link.
The support of customizing the selected item in the SfComboBox has been implemented by employing default style keys. This notable feature has been duly incorporated in the current release. By utilizing this support, it is now possible to customize the background of both the selected items and the dropdown. To modify the text color of the selected item, kindly use the data template selector. To further assist in understanding the customization of the SfComboBox, a demo sample has been prepared and can be obtained from the attached files.