System.Windows.Forms.ThemeWin32Classic.ListViewDrawUnusedHeaderBackground C# (CSharp) Method

ListViewDrawUnusedHeaderBackground() protected method

protected ListViewDrawUnusedHeaderBackground ( ListView listView, Graphics g, Rectangle area, Rectangle clippingArea ) : void
listView ListView
g System.Drawing.Graphics
area System.Drawing.Rectangle
clippingArea System.Drawing.Rectangle
return void
		protected virtual void ListViewDrawUnusedHeaderBackground (ListView listView, Graphics g, Rectangle area, Rectangle clippingArea)
		{
			ButtonState state;
			if (listView.HeaderStyle == ColumnHeaderStyle.Clickable)
				state = ButtonState.Normal;
			else
				state = ButtonState.Flat;
			CPDrawButton (g, area, state);
		}
ThemeWin32Classic