Click here to Skip to main content
15,791,520 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Kevin Marois26-Dec-19 8:38
professionalKevin Marois26-Dec-19 8:38 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Gerry Schmitz27-Dec-19 6:58
mveGerry Schmitz27-Dec-19 6:58 
AnswerRe: MenuButton CanExecute Firing Wrong Pin
Mycroft Holmes27-Dec-19 15:21
professionalMycroft Holmes27-Dec-19 15:21 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Kevin Marois27-Dec-19 15:34
professionalKevin Marois27-Dec-19 15:34 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Mycroft Holmes27-Dec-19 15:48
professionalMycroft Holmes27-Dec-19 15:48 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Kevin Marois27-Dec-19 15:53
professionalKevin Marois27-Dec-19 15:53 
GeneralRe: MenuButton CanExecute Firing Wrong Pin
Mycroft Holmes27-Dec-19 16:20
professionalMycroft Holmes27-Dec-19 16:20 
AnswerRe: MenuButton CanExecute Firing Wrong Pin
Richard Deeming7-Jan-20 9:53
mveRichard Deeming7-Jan-20 9:53 
Kevin Marois wrote:
The problem is that the CanExecute doesn't fire until I actually click on a menu bar.

As far as I can see, that would be the expected behaviour. The system doesn't need to know whether the menu item is enabled or not until the menu is shown, so I wouldn't expect it to call CanExecute for the menu's command until you click on the button to show the menu.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionWPF Pin
MrsealIsHotChicken18-Dec-19 15:41
MrsealIsHotChicken18-Dec-19 15:41 
AnswerRe: WPF Pin
Gerry Schmitz19-Dec-19 8:11
mveGerry Schmitz19-Dec-19 8:11 
QuestionDataGrid Column Right Aligned Pin
Kevin Marois16-Nov-19 14:45
professionalKevin Marois16-Nov-19 14:45 
AnswerRe: DataGrid Column Right Aligned Pin
Mycroft Holmes16-Nov-19 21:07
professionalMycroft Holmes16-Nov-19 21:07 
AnswerRe: DataGrid Column Right Aligned Pin
Richard Deeming18-Nov-19 0:03
mveRichard Deeming18-Nov-19 0:03 
QuestionWPF C# Make window's the same width as the screen Pin
Acuena3-Nov-19 8:44
Acuena3-Nov-19 8:44 
AnswerRe: WPF C# Make window's the same width as the screen Pin
Richard MacCutchan3-Nov-19 22:45
mveRichard MacCutchan3-Nov-19 22:45 
AnswerRe: WPF C# Make window's the same width as the screen Pin
Richard Deeming3-Nov-19 23:28
mveRichard Deeming3-Nov-19 23:28 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Acuena4-Nov-19 13:31
Acuena4-Nov-19 13:31 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Mycroft Holmes4-Nov-19 19:42
professionalMycroft Holmes4-Nov-19 19:42 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Gerry Schmitz5-Nov-19 6:25
mveGerry Schmitz5-Nov-19 6:25 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Acuena8-Nov-19 6:21
Acuena8-Nov-19 6:21 
GeneralRe: WPF C# Make window's the same width as the screen Pin
Richard Deeming8-Nov-19 7:14
mveRichard Deeming8-Nov-19 7:14 
QuestionDataGrid with DataGridTemplateColumns - Cannot create new rows Pin
Mc_Topaz8-Oct-19 0:42
Mc_Topaz8-Oct-19 0:42 
AnswerRe: DataGrid with DataGridTemplateColumns - Cannot create new rows Pin
Gerry Schmitz8-Oct-19 4:11
mveGerry Schmitz8-Oct-19 4:11 
NewsRe: DataGrid with DataGridTemplateColumns - Cannot create new rows Pin
Mc_Topaz8-Oct-19 4:25
Mc_Topaz8-Oct-19 4:25 
QuestionWPF Pin
RajaMohammed.A3-Oct-19 23:29
RajaMohammed.A3-Oct-19 23:29 

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.