Sai Yang

Sai Yang

  • NA
  • 136
  • 25.6k

How Do I Fill Context menu to my Button Righ Click ?

Aug 9 2018 2:16 AM
I create a new button on code editor and design a contextmenu and then I need to show my contextmenu when new button right click, but it does not read.
 
Button btn = new Button();
btn.Width = 125;
btn.Height = 100;
btn.ContextMenu = Menu_navigations;
 
What is wrong? 

Answers (1)