DataGrid::OnPaintBackground Method (PaintEventArgs^)

 

Overrides Control::OnPaintBackground to prevent painting the background of the System.Windows.Forms::DataGrid control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
virtual void OnPaintBackground(
	PaintEventArgs^ ebe
) override

Parameters

ebe
Type: System.Windows.Forms::PaintEventArgs^

A PaintEventArgs that contains information about the control to paint.

Because the System.Windows.Forms::DataGrid is a complex control, this override is implemented to have no action. Therefore, calling this method will have no effect.

.NET Framework
Available since 1.1
Return to top
Show: