Answers for "wpf background color"

C#
0

wpf background color

using System.Windows.Media;

textBox1.Background = Brushes.White;
textBox1.Background = new SolidColorBrush(Colors.White);
textBox1.Background = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0, 0));
textBox1.Background = System.Windows.SystemColors.MenuHighlightBrush;
Posted by: Guest on September-25-2021

C# Answers by Framework

Browse Popular Code Answers by Language