Click here to Skip to main content
15,881,600 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF Exception - Send Error Report Pin
Richard MacCutchan30-Dec-19 10:13
mveRichard MacCutchan30-Dec-19 10:13 
AnswerRe: WPF Exception - Send Error Report Pin
jimmson2-Jan-20 3:15
jimmson2-Jan-20 3:15 
AnswerRe: WPF Exception - Send Error Report Pin
Gerry Schmitz2-Jan-20 20:09
mveGerry Schmitz2-Jan-20 20:09 
AnswerRe: WPF Exception - Send Error Report Pin
Mycroft Holmes3-Jan-20 10:49
professionalMycroft Holmes3-Jan-20 10:49 
QuestionMenuButton CanExecute Firing Wrong Pin
Kevin Marois24-Dec-19 11:42
professionalKevin Marois24-Dec-19 11:42 
AnswerRe: MenuButton CanExecute Firing Wrong Pin
Gerry Schmitz26-Dec-19 6:34
mveGerry Schmitz26-Dec-19 6:34 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Kevin Marois26-Dec-19 7:38
professionalKevin Marois26-Dec-19 7:38 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Gerry Schmitz27-Dec-19 5:58
mveGerry Schmitz27-Dec-19 5:58 
For example:
<MenuItem x:Name="newCompanyButton" 
                    Command="{Binding NewItemCommand}"
                    CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
                    CommandParameter="{x:Static local:ActionId.NewCompany}"
                    Tag="company"
                    Header="New Company" />

And "Tag" is your parameter. How many do you need?

Or, menu click "sender" identifies the menu item.

Your could even examine the "header"; or the "Name".

A lot of "binding" for nothing, and only confusing for the next person.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food

AnswerRe: MenuButton CanExecute Firing Wrong Pin
Mycroft Holmes27-Dec-19 14:21
professionalMycroft Holmes27-Dec-19 14:21 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Kevin Marois27-Dec-19 14:34
professionalKevin Marois27-Dec-19 14:34 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Mycroft Holmes27-Dec-19 14:48
professionalMycroft Holmes27-Dec-19 14:48 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Kevin Marois27-Dec-19 14:53
professionalKevin Marois27-Dec-19 14:53 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Mycroft Holmes27-Dec-19 15:20
professionalMycroft Holmes27-Dec-19 15:20 
AnswerRe: MenuButton CanExecute Firing Wrong Pin
Richard Deeming7-Jan-20 8:53
mveRichard Deeming7-Jan-20 8:53 
QuestionWPF Pin
MrsealIsHotChicken18-Dec-19 14:41
MrsealIsHotChicken18-Dec-19 14:41 
AnswerRe: WPF Pin
Gerry Schmitz19-Dec-19 7:11
mveGerry Schmitz19-Dec-19 7:11 
QuestionDataGrid Column Right Aligned Pin
Kevin Marois16-Nov-19 13:45
professionalKevin Marois16-Nov-19 13:45 
AnswerRe: DataGrid Column Right Aligned Pin
Mycroft Holmes16-Nov-19 20:07
professionalMycroft Holmes16-Nov-19 20:07 
AnswerRe: DataGrid Column Right Aligned Pin
Richard Deeming17-Nov-19 23:03
mveRichard Deeming17-Nov-19 23:03 
QuestionWPF C# Make window's the same width as the screen Pin
Acuena3-Nov-19 7:44
Acuena3-Nov-19 7:44 
AnswerRe: WPF C# Make window's the same width as the screen Pin
Richard MacCutchan3-Nov-19 21:45
mveRichard MacCutchan3-Nov-19 21:45 
AnswerRe: WPF C# Make window's the same width as the screen Pin
Richard Deeming3-Nov-19 22:28
mveRichard Deeming3-Nov-19 22:28 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Acuena4-Nov-19 12:31
Acuena4-Nov-19 12:31 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Mycroft Holmes4-Nov-19 18:42
professionalMycroft Holmes4-Nov-19 18:42 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Gerry Schmitz5-Nov-19 5:25
mveGerry Schmitz5-Nov-19 5:25 

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.