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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.