Author: sinosoidal | Posted on: 6/9/2008 4:53:10 PM | Views : 739

Hi,
I wanted a diferent item container style so i have made the following from an original template from msdn:
<Style x:Key="ListBoxItemContainerStyle" TargetType="ListBoxItem" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows">
            <Setter Property="IsEnabled" Value="true" />
            <Setter Property="Foreground" Value="#FF000000" />
            <Setter Property="HorizontalContentAlignment" Value="Left" />
            <Setter Property="VerticalContentAlignment" Value="Top" />
            <Setter Property=" ...

Go to the complete details ...