MenuItem: VS designer should always store the Name property

0
0

Hi,

Whenever I  add a MenuItem to a MenuBar, the VS designer should store the Name property on the *.Designer.cs file. Furthermore, if I add that property by hand editing the Designer file, when the VS designer saves the file, it removes this property.

  • You must to post comments
0
0

Sample attached.

Attachment
  • You must to post comments
0
0

Hi Frank,

I’ll send a (very) small sample, that will include:

  1. MenuItemSample.Designer.cs file after adding a MenuItem by drag & drop
  2. Same file with Name property added by hand editing
  3. Same file after a new MenuItem is added
  • You must to post comments
0
0

Hi Tiago,

I tried to reproduce but could not.
Can you please describe the exact steps needed and tell me the code that you are trying to add by hand ?

Thanks in advance !

Best regards
Frank

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.