DataGridView.GetRowDisplayRectangle(Int32, Boolean) 메서드

정의

행 인덱스에 의해 확인된 대로, 행에 대한 표시 영역을 나타내는 사각형을 반환합니다.

public:
 System::Drawing::Rectangle GetRowDisplayRectangle(int rowIndex, bool cutOverflow);
public System.Drawing.Rectangle GetRowDisplayRectangle (int rowIndex, bool cutOverflow);
member this.GetRowDisplayRectangle : int * bool -> System.Drawing.Rectangle
Public Function GetRowDisplayRectangle (rowIndex As Integer, cutOverflow As Boolean) As Rectangle

매개 변수

rowIndex
Int32

원하는 셀의 행 인덱스입니다.

cutOverflow
Boolean

DataGridView 범위에서 표시되는 행 사각형을 반환하려면 true이고, 전체 행 사각형을 반환하려면 false입니다.

반환

Rectangle

행의 표시 사각형을 나타내는 Rectangle입니다.

예외

rowIndex가 0부터 행 수까지의 값에서 1을 뺀 값 범위에 있지 않습니다.

적용 대상

추가 정보