DataGrid.OnPaintBackground(PaintEventArgs) 메서드

정의

OnPaintBackground(PaintEventArgs) 컨트롤의 배경색을 칠하지 않도록 DataGrid를 재정의합니다.

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)

매개 변수

ebe
PaintEventArgs

그리려는 컨트롤에 대한 정보가 포함된 PaintEventArgs입니다.

설명

복잡한 컨트롤이므로 이 재정의 System.Windows.Forms.DataGrid 는 아무 작업도 수행하지 않고 구현됩니다. 따라서 이 메서드를 호출해도 아무런 효과가 없습니다.

적용 대상