<Style x:Key="ApplyButton" BasedOn="{StaticResource imgButton}" TargetType="Button"> <Setter Property="ToolTip" Value="Apply"/> <Setter Property="IsDefault" Value="True"/> <Setter Property="ContentTemplate"> <Setter.Value> <DataTemplate> <StackPanel Orientation="Vertical"> <Image Source="/Images/Apply.png" Stretch="Uniform" ></Image> </StackPanel> </DataTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="UpButton" BasedOn="{StaticResource imgButton}" TargetType="Button"> <Setter Property="ToolTip" Value="Move Up"/> <Setter Property="ContentTemplate"> <Setter.Value> <DataTemplate> <StackPanel Orientation="Vertical"> <Image Source="pack://application:,,,/Images/Arrow-Up.png" Stretch="Uniform" ></Image> </StackPanel> </DataTemplate> </Setter.Value> </Setter> </Style>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)