Editar

Compartilhar via


DataGrid.OnPaintBackground(PaintEventArgs) Method

Definition

Overrides OnPaintBackground(PaintEventArgs) to prevent painting the background of the DataGrid control.

protected:
 override void OnPaintBackground(System::Windows::Forms::PaintEventArgs ^ ebe);
protected override void OnPaintBackground (System.Windows.Forms.PaintEventArgs ebe);
override this.OnPaintBackground : System.Windows.Forms.PaintEventArgs -> unit
Protected Overrides Sub OnPaintBackground (ebe As PaintEventArgs)

Parameters

ebe
PaintEventArgs

A PaintEventArgs that contains information about the control to paint.

Remarks

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.

Applies to