Click here to Skip to main content
15,888,351 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Combobox Pin
koleraba6-Apr-10 12:01
koleraba6-Apr-10 12:01 
QuestionChanging Button Programatically [SLVED, but still accepting input/comments] Pin
#realJSOP6-Apr-10 7:49
mve#realJSOP6-Apr-10 7:49 
AnswerRe: Changing Button Programatically [SLVED, but still accepting input/comments] Pin
Pete O'Hanlon6-Apr-10 9:17
mvePete O'Hanlon6-Apr-10 9:17 
AnswerRe: Changing Button Programatically [SLVED, but still accepting input/comments] Pin
Michael J. Eber19-Apr-10 11:49
Michael J. Eber19-Apr-10 11:49 
QuestionChart ToolKit error in WPF Pin
Nanda_MR6-Apr-10 1:36
Nanda_MR6-Apr-10 1:36 
Questionwpf menu errors in XP Pin
hb521342145-Apr-10 13:24
hb521342145-Apr-10 13:24 
AnswerRe: wpf menu errors in XP Pin
hb521342145-Apr-10 13:54
hb521342145-Apr-10 13:54 
QuestionContext Menu Pin
ScottRadel5-Apr-10 12:09
ScottRadel5-Apr-10 12:09 
I have a dynamically created image control in my application and want to add a Context menu to it. The following code does show the menu on right click, but does not show any of the menu itmes. Any ideas? I know it is something pretty simple, but hey i am new.
thanks for any help
Scott

ContextMenu mainMenu = new ContextMenu();

mainMenu.Height = 300;
mainMenu.Width = 200;

MenuItem imgCopy = new MenuItem();
imgCopy .Width = 50;
imgCopy .Height = 25;
imgCopy .Header = "Copy";
imgCopy .Foreground = Brushes.Black;

mainMenu.Items.Add(itemCover);

imgControl.ContextMenu = mainMenu;
AnswerRe: Context Menu Pin
hb521342145-Apr-10 13:56
hb521342145-Apr-10 13:56 
GeneralRe: Context Menu Pin
ScottRadel6-Apr-10 8:21
ScottRadel6-Apr-10 8:21 
QuestionSetting a Style Programatically [modified] Pin
#realJSOP5-Apr-10 9:36
mve#realJSOP5-Apr-10 9:36 
AnswerRe: Setting a Style Programatically Pin
Pete O'Hanlon5-Apr-10 10:46
mvePete O'Hanlon5-Apr-10 10:46 
GeneralRe: Setting a Style Programatically Pin
#realJSOP5-Apr-10 12:14
mve#realJSOP5-Apr-10 12:14 
GeneralRe: Setting a Style Programatically Pin
Pete O'Hanlon6-Apr-10 9:03
mvePete O'Hanlon6-Apr-10 9:03 
GeneralRe: Setting a Style Programatically Pin
#realJSOP6-Apr-10 9:17
mve#realJSOP6-Apr-10 9:17 
QuestionText Rotation - Is It Just Me? Pin
#realJSOP5-Apr-10 0:04
mve#realJSOP5-Apr-10 0:04 
AnswerRe: Text Rotation - Is It Just Me? Pin
Pete O'Hanlon5-Apr-10 10:20
mvePete O'Hanlon5-Apr-10 10:20 
QuestionSilverlight Automatic Image Transition Pin
saurabh94-Apr-10 23:03
saurabh94-Apr-10 23:03 
AnswerRe: Silverlight Automatic Image Transition Pin
Michael J. Eber19-Apr-10 11:54
Michael J. Eber19-Apr-10 11:54 
QuestionRotaing Label control Pin
#realJSOP4-Apr-10 5:58
mve#realJSOP4-Apr-10 5:58 
AnswerRe: Rotaing Label control Pin
Abhinav S4-Apr-10 6:50
Abhinav S4-Apr-10 6:50 
GeneralRe: Rotaing Label control Pin
#realJSOP4-Apr-10 7:02
mve#realJSOP4-Apr-10 7:02 
GeneralRe: Rotaing Label control Pin
Abhinav S4-Apr-10 7:11
Abhinav S4-Apr-10 7:11 
GeneralRe: Rotaing Label control Pin
#realJSOP4-Apr-10 7:51
mve#realJSOP4-Apr-10 7:51 
QuestionImage.ImageSource to string ? Pin
Mohammad Dayyan3-Apr-10 16:58
Mohammad Dayyan3-Apr-10 16:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.