I've done as you suggested. I placed the line:
this.contextMenuStrip1.DropShadowEnabled = true;
after the InitializaComponent(); but no shadow appears for the ContextMenuStrip.
According to .NET Framework Documentation, the machine where I'm running this code has a platform permitted for this feature Windows 2000 SP4.
Where is the error?
>Where in your code do you put the code (this.contextMenuStrip1.DropShadowEnabled = true;)?
>Try to place it in the constructor, after the InitializeComponents (or whatever it is), the IDE should not mess with it then.
>
>
>>Hi all,
>>
>>Does anybody know how to enable the DropShadow for the ContextMenuStrip?
>>
>>I've tried with:
>>
>>
this.contextMenuStrip1.DropShadowEnabled = true;
>>
>>but it's not available by means of the IDE, and if I write it directly in code, the IDE deletes the line and it doesn't make any shadow.
>>
>>Thanks in advance,
>>grivix