This is due to the default button style.
You need to set a new style.
EDIT:
<Button Content="Button" Height="23" Name="button1" Width="75"> <Button.Style> <Style TargetType="Button"> <Setter Property="Background"> <Setter.Value> <LinearGradientBrush StartPoint="0,0" EndPoint="1,1"> <GradientStop Color="#FFD9EDFF" Offset="0"/> <GradientStop Color="#FFC0DEFF" Offset="0.445"/> <GradientStop Color="#FFAFD1F8" Offset="0.53"/> </LinearGradientBrush> </Setter.Value> </Setter> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Microsoft_Windows_Themes:ButtonChrome x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" RenderDefaulted="{TemplateBinding IsDefaulted}" SnapsToDevicePixels="true"> <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> </Microsoft_Windows_Themes:ButtonChrome> </ControlTemplate> </Setter.Value> </Setter> </Style> <Button.Style> </Button>
If you want this style to use it several times as a resource: Place it to give you this style for each button in your Window.xaml
Moving a style to a higher level, such as App.xaml, applies a style to each button in your application.
source share