Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

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;
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# cast to type variable 
Csharp :: unity new input system keydown 
Csharp :: c# base64 encode 
Csharp :: change sprite of a sprite unity 
Csharp :: make window not resizable wpf 
Csharp :: c# dictionary loop key value 
Csharp :: c# get set value 
Csharp :: c# console foreground color 
Csharp :: how to print dictionary in c# 
Csharp :: cast int to enum type c# 
Csharp :: instantiate unity 
Csharp :: 2d list in c# 
Csharp :: convert.tostring with datetime string 
Csharp :: unity get child gameobject 
Csharp :: check if animation is playing unity 
Csharp :: log to console c# unity 
Csharp :: asp.net data annotations double 
Csharp :: c# string remove 
Csharp :: c# how to sort a list 
Csharp :: What is the difference between String and string in C#? 
Csharp :: c# foreach on a dictionary 
Csharp :: how to check if file contains image c# 
Csharp :: contains c# 
Csharp :: gameobject on click unity 
Csharp :: get value from config file c# 
Csharp :: c# clamp 
Csharp :: ef core set identity_insert off 
Csharp :: c# best tutorial 
Csharp :: c# round double 
Csharp :: float and int need help 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =