Answers for "wpf change color"

C#
1

wpf set color in code

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 June-27-2021
-1

change text color wpf

Lable.Foreground="somecolor"
Posted by: Guest on June-02-2020

C# Answers by Framework

Browse Popular Code Answers by Language