<Style x:Key="DropDownToggleButtonStyle" TargetType="ToggleButton">
<Setter Property="ClickMode" Value="Release" />
<Setter Property="Foreground" Value="#FF000000" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="Focusable" Value="False" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Border Background="White">
<Grid>
<!-- change the height and width of dropdown button -->
<Path Width="8"
Height="6"
Margin="1"
Data="F1M10.6668,-9.99999999997669E-05L6.0008,4.6669L1.3328,-9.99999999997669E-05L-0.000199999999999534,1.3339L6.0008,7.3329L11.9998,1.3339z"
Fill="{TemplateBinding Foreground}"
RenderTransformOrigin="0.5,0.5"
Stretch="Uniform" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
|