DataGridViewRowPostPaintEventArgs 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
DataGridViewRowPostPaintEventArgs 클래스의 새 인스턴스를 초기화합니다.
public:
DataGridViewRowPostPaintEventArgs(System::Windows::Forms::DataGridView ^ dataGridView, System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle clipBounds, System::Drawing::Rectangle rowBounds, int rowIndex, System::Windows::Forms::DataGridViewElementStates rowState, System::String ^ errorText, System::Windows::Forms::DataGridViewCellStyle ^ inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);
public DataGridViewRowPostPaintEventArgs (System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, string errorText, System.Windows.Forms.DataGridViewCellStyle inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);
public DataGridViewRowPostPaintEventArgs (System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, string? errorText, System.Windows.Forms.DataGridViewCellStyle inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);
new System.Windows.Forms.DataGridViewRowPostPaintEventArgs : System.Windows.Forms.DataGridView * System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Rectangle * int * System.Windows.Forms.DataGridViewElementStates * string * System.Windows.Forms.DataGridViewCellStyle * bool * bool -> System.Windows.Forms.DataGridViewRowPostPaintEventArgs
Public Sub New (dataGridView As DataGridView, graphics As Graphics, clipBounds As Rectangle, rowBounds As Rectangle, rowIndex As Integer, rowState As DataGridViewElementStates, errorText As String, inheritedRowStyle As DataGridViewCellStyle, isFirstDisplayedRow As Boolean, isLastVisibleRow As Boolean)
매개 변수
- dataGridView
- DataGridView
그리고 있는 행을 소유하는 DataGridView입니다.
- graphics
- Graphics
DataGridViewRow을 그리는 데 사용되는 Graphics입니다.
- clipBounds
- Rectangle
그려야 하는 Rectangle 의 영역을 나타내는 DataGridView 입니다.
- rowBounds
- Rectangle
그리고 있는 DataGridViewRow의 범위를 포함하는 Rectangle입니다.
- rowIndex
- Int32
그리고 있는 셀의 행 인덱스입니다.
- rowState
- DataGridViewElementStates
행의 상태를 지정하는 DataGridViewElementStates 값의 비트 조합입니다.
- errorText
- String
행과 연결된 오류 메시지입니다.
- inheritedRowStyle
- DataGridViewCellStyle
행에 대한 서식 및 스타일 정보를 포함하는 DataGridViewCellStyle입니다.
- isFirstDisplayedRow
- Boolean
현재 행이 DataGridView에 현재 표시되는 첫 번째 행임을 나타내려면 true
이고, 그렇지 않으면 false
입니다.
- isLastVisibleRow
- Boolean
현재 행이 DataGridView 속성이 true
로 설정된 Visible의 마지막 행임을 나타내려면 true
이고, 그렇지 않으면 false
입니다.
예외
dataGridView
이(가) null
인 경우
또는
graphics
이(가) null
인 경우
또는
inheritedRowStyle
이(가) null
인 경우