« Return to Thread: ToolStrip background color

ToolStrip background color

by d3x0r () :: Rate this Message:

Reply to Author | View in Thread

I have been tinkering with mono... and with my current theme, I have black backgrounds and white text most places.

Text boxes and TreeListViews emulate windows .NET functionaltiy (they maintain a white background and black text, no matter what apperance settings have)

List boxes under windows aquire the background color of 'window' (and the text color)   [under mono, list box backgrounds are white, but the text color is taken from current settings (in my case, white) making them unusable)

ToolStrips under windows aquire the background color of '3d objects' [ under mono, they have a white background, and the text color from current settings (in my case, white) ]

Can this be fixed at some point to either 100% emulate .NET under windows?

Or better yet, just respect all user theme settings for controls,  and not default parts to white when none are defined as white?


        ContextMenuStrip control_context_menu = new ContextMenuStrip();

        Console.WriteLine( "Color is " + control_context_menu.BackColor + " control is " + SystemColors.Control.ToArgb().ToString("X") );

output is

Color is Color [Control] control is FF232323

later, when adding the items... each item claims its BackColor is also Control... so why is it white anyway?

 « Return to Thread: ToolStrip background color