Hello Sangeetha,
The sample you provided applies the style for 'All ComboBoxes' in this window or UserControl. This is not what we want. Combobox outside the Property grid should have the default style defined by the current theme.
We want to apply a style to ComboBox within a property grid.
Ideally, something like:
<sf:PropertyGrid ComboBoxStyle={DynamicResource StyleName} />
Background:
We use the FluentLight and MaterialDark themes. With the approach, you suggested we cannot change the style of the Combobox at runtime based on the theme.
Best regards,
Yash