Home > Net >  The use of WPF Popup control
The use of WPF Popup control

Time:04-09

Minimizing the page containing the Popup control to the tray procedures, and then the mouse into the tray icon, let the Popup control the lower right corner of the screen, the Popup in the ListBox, click ListBox which item, does not trigger a SelectionChange event, only when the form back to Nomal can trigger, but now I don't want to let the window display, how to achieve this effect?

CodePudding user response:

Try the MouseDown event, from you click on the sender parameter to control, and get your data binding

CodePudding user response:

ListboxItem is written in the template can't add a MouseDown event, I added to a layer, outside events to be set out, but do not apply!
  •  Tags:  
  • C#
  • Related