TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ranjith Kumar
NA
43
409
Grid Background is not changing
Nov 14 2019 1:58 AM
I have to set the grid background based on the result. that is working fine.
But when I am clicking again the button, it is not set to white color.
private
void
Conversion_Click(
object
sender, RoutedEventArgs e)
{
grid.Background =
new
SolidColorBrush(Colors.White);
bool
result = DoConversion();
if
(result)
{
grid.Background =
new
SolidColorBrush(Colors.Green);
}
else
{
grid.Background =
new
SolidColorBrush(Colors.Red);
}
}
Reply
Answers (
4
)
how to post image from our application to linkedin post ?
Send Message Using Whatsap API With C# have You any Idea?