I want to write a XAML template for combobox to increase the spaces / indents between elements. I searched for this but almost finished with ItemsPresenter:
<ItemsPresenter x:Name="ItemsPresenter" KeyboardNavigation.DirectionalNavigation="Contained" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
How can I format an element (border, padding, font ...) using this template? Please, help.
templates wpf xaml combobox itemscontrol
Nam g vu
source share