thumbmunkeys
thumbmunkeys

Reputation: 20764

What SystemColor is this?

Please have a look at the image below:

enter image description here

what SystemColor has the panel in the red rectangle?

What SystemColor should be used in general for the background of a control that is presenting content? I tried SystemColors.ControlBrush and SystemColors.ControlLightBrush but none of them would match the color in the image. Is it possible that the color is redefined somewhere else?

Upvotes: 3

Views: 872

Answers (2)

Josh
Josh

Reputation: 2975

My guess is it's a gradient they're applying between SystemColors. To me it looks lighter at the top and darker at the bottom. Here is a link to the SystemColors by theme, maybe it will help: http://blogs.msdn.com/b/wpf/archive/2010/11/30/systemcolors-reference.aspx

Upvotes: 3

Kratz
Kratz

Reputation: 4330

I think its just Drawing.SystemColors.Control

This seems to be the default for new controls, Me.BackColor = Drawing.SystemColors.Control

Edit: I think the area in question is Window Me.BackColor = Drawing.SystemColors.Window

Upvotes: 1

Related Questions