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
sushma sushma
NA
13
0
dotnetheavenChnage background of seperator menu c#.net ,WPF
Mar 6 2009 12:29 AM
Hi,
I want to know how to change background of seperator menu dynamically in c# .net WPF applicaiton.
I am using following code but its not changing the background of seperator menu item.
ContextMenu dtmContextMenu = new ContextMenu();
Separator menuItemSeperator new Separator();
menuItemSeperator.Background = new SolidColorBrush(System.Windows.Media.Color.FromRgb(211, 211, 211));
dtmContextMenu.Items.Add(menuItemSeperator);
Can anyone help me out please
Regards,
sushma
Reply
Answers (
0
)
Dispatcher causing problems
Help with displaying listview group header