I'm using Themes to style the native WPF controls. It works greate except when I apply the following setter to the list box item container style. I'm using a datatemplate for the items and couldn't find any other way to make the item stretch to the width of the list box.
<ListBox.ItemContainerStyle> <Style TargetType="ListBoxItem"> <Setter Property="HorizontalContentAlignment" Value="Stretch" /> </Style> </ListBox.ItemContainerStyle>
How can I use this setter and preserve the Actipro styles without duplicating the entire style inline?