XAML
XAML.CS
gTBxComment.Background = ???
How do I change the background of a TextBox to another color?
XAML
XAML.CS
gTBxComment.Background = ???
How do I change the background of a TextBox to another color?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Dec 9, 2024, 5:46 AM
Try this:
Jaish MathewsPosted Dec 8, 2024, 4:26 PM
You try this
or try this
ExplanationSolidColorBrush: Used to define a solid fill color.Color.FromRgb: Allows you to specify the RGB values for the color.Colors: Provides a list of predefined colors.