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

DrawOwnerDrawBackground() public method

public DrawOwnerDrawBackground ( DrawItemEventArgs e ) : void
e DrawItemEventArgs
return void
		public  override void DrawOwnerDrawBackground (DrawItemEventArgs e)
		{
			if ((e.State & DrawItemState.Selected) == DrawItemState.Selected) {
				e.Graphics.FillRectangle (SystemBrushes.Highlight, e.Bounds);
				return;
			}

			e.Graphics.FillRectangle (ResPool.GetSolidBrush(e.BackColor), e.Bounds);
		}
ThemeWin32Classic