DataGrid.OnPaintBackground(PaintEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.