Hello,
The example from your documentation doesn't seem to work.
this.contextMenuStripEx.BackColor = System.Drawing.Color.SkyBlue;
It only changes the bordercolor (if i look into the contextmenu on the form in the designer and set the color there, it's displayed in the right color but not in runtime).
How can i use my custom color for the background (40,40,40) and the hover color (gray or argb).
I also discovered that the corners are weird at runtime as shown in your documentation.
Appearance in Windows Forms ContextMenuStrip control | Syncfusion
Shouldn't it look like this?
It's displayed like this:
Regards
|
Query |
Solution | |
|
How to change the background color value? |
You can customize the background color of ContextMenuStrip using RenderMode property.
| |
|
How to change the hover value |
Currently we don’t have any support to change the hover color value.
Note: We’ll log the feature report based on the update from the customer.
| |
|
I also discovered that the corners are weird at runtime as shown in your documentation |
We have consider it as bug and logged a report on this. The patch for this fix is estimated to be available on 18th Aug, 2021. You can track the status of this defect using the following feedback link:
|
Ok, Thanks.
Found a really cool and easy solution (colortable class):
c# - Color change for MenuItem - Stack Overflow
|
Recommended approach - exe will perform automatic configuration.
Please find the patch setup from below location:
Patch link : https://syncfusion.com/Installs/support/patch/19.2.0.44/1312121/F167750/SyncfusionPatch_19.2.0.44_1312121_8182021054902076_F167750.exe
Assemblies Link: https://syncfusion.com/Installs/support/patch/19.2.0.44/1312121/F167750/SyncfusionPatch_19.2.0.44_1312121_8182021054902076_F167750.zip
|