DataGridViewButtonCell.GetErrorIconBounds 메서드

정의

셀의 오류 아이콘이 표시되면 이 아이콘을 둘러싸는 경계 사각형을 반환합니다.

protected:
 override System::Drawing::Rectangle GetErrorIconBounds(System::Drawing::Graphics ^ graphics, System::Windows::Forms::DataGridViewCellStyle ^ cellStyle, int rowIndex);
protected override System.Drawing.Rectangle GetErrorIconBounds (System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex);
override this.GetErrorIconBounds : System.Drawing.Graphics * System.Windows.Forms.DataGridViewCellStyle * int -> System.Drawing.Rectangle
Protected Overrides Function GetErrorIconBounds (graphics As Graphics, cellStyle As DataGridViewCellStyle, rowIndex As Integer) As Rectangle

매개 변수

graphics
Graphics

셀에 대한 그래픽 컨텍스트입니다.

cellStyle
DataGridViewCellStyle

셀에 적용할 DataGridViewCellStyle입니다.

rowIndex
Int32

셀의 부모 행의 인덱스입니다.

반환

셀의 오류 아이콘이 표시되면 이 아이콘을 바인딩하는 Rectangle이고, 표시되지 않으면 Empty입니다.

적용 대상

추가 정보