I\'ve found this topic about setting the border of a button to transparent. This works fine, but I want to use this for the button background and not the border.
Soluti
Use this in C# code
Button btn = new Button() {BorderBrush=System.Windows.Media.Brushes.Transparent, BorderThickness = new Thickness(0)};
or
yourBtn.BorderBrush=System.Windows.Media.Brushes.Transparent; yourBtn.BorderThickness =new Thickness(0);