DataGridViewRowHeaderCell.Paint 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 DataGridViewRowHeaderCell를 그립니다.
protected:
override void Paint(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle clipBounds, System::Drawing::Rectangle cellBounds, int rowIndex, System::Windows::Forms::DataGridViewElementStates cellState, System::Object ^ value, System::Object ^ formattedValue, System::String ^ errorText, System::Windows::Forms::DataGridViewCellStyle ^ cellStyle, System::Windows::Forms::DataGridViewAdvancedBorderStyle ^ advancedBorderStyle, System::Windows::Forms::DataGridViewPaintParts paintParts);
protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts);
protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates cellState, object? value, object? formattedValue, string? errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts);
override this.Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Rectangle * int * System.Windows.Forms.DataGridViewElementStates * obj * obj * string * System.Windows.Forms.DataGridViewCellStyle * System.Windows.Forms.DataGridViewAdvancedBorderStyle * System.Windows.Forms.DataGridViewPaintParts -> unit
Protected Overrides Sub Paint (graphics As Graphics, clipBounds As Rectangle, cellBounds As Rectangle, rowIndex As Integer, cellState As DataGridViewElementStates, value As Object, formattedValue As Object, errorText As String, cellStyle As DataGridViewCellStyle, advancedBorderStyle As DataGridViewAdvancedBorderStyle, paintParts As DataGridViewPaintParts)
매개 변수
- graphics
- Graphics
를 그리Graphics는 DataGridViewCell 데 사용됩니다.
- clipBounds
- Rectangle
다시 칠해야 하는 영역을 Rectangle 나타내는 A DataGridView 입니다.
- cellBounds
- Rectangle
Rectangle 그리는 범위 DataGridViewCell 가 들어 있는 A입니다.
- rowIndex
- Int32
그릴 셀의 행 인덱스입니다.
- cellState
- DataGridViewElementStates
셀의 상태를 지정하는 값의 DataGridViewElementStates 비트 조합입니다.
- value
- Object
그리는 데이터의 DataGridViewCell 데이터입니다.
- formattedValue
- Object
그리는 형식이 DataGridViewCell 지정된 데이터입니다.
- errorText
- String
셀과 연결된 오류 메시지입니다.
- cellStyle
- DataGridViewCellStyle
DataGridViewCellStyle 셀에 대한 서식 및 스타일 정보가 들어 있는 A입니다.
- advancedBorderStyle
- DataGridViewAdvancedBorderStyle
DataGridViewAdvancedBorderStyle 그리는 셀의 테두리 스타일이 들어 있는 A입니다.
- paintParts
- DataGridViewPaintParts
그려야 하는 셀 부분을 DataGridViewPaintParts 지정하는 값의 비트 조합입니다.