Change Background of Silverlight Button
I have com accross some areas when working with setting. silverlight button background. Thought of sharing with all. 1. Change Background Color when you try to change the background color of a silverlight button as below it will show the button as below with the gradient effect. <Button Content="Button" Height="31" HorizontalAlignment="Left" Background="DarkGreen" Name="btn" VerticalAlignment="Top" Width="142" Margin="30,60,0,0" /> if you want to change the background color without the gradient effect below code is the solution. <Button Content="Button" Height="31" HorizontalAlignment="Left" Background="DarkGreen" Name="btn" VerticalAlignment="Top" Width="142" Margin="30,60,0,0" > <Button.Template> <ControlTemplate TargetType="Button"> ...