DataGridViewCell.PositionEditingPanel 메서드

정의

셀에서 호스팅하는 편집 패널의 위치와 크기를 설정하고 편집 패널에 있는 편집 컨트롤의 일반 범위를 반환합니다.

public:
 virtual System::Drawing::Rectangle PositionEditingPanel(System::Drawing::Rectangle cellBounds, System::Drawing::Rectangle cellClip, System::Windows::Forms::DataGridViewCellStyle ^ cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow);
public virtual System.Drawing.Rectangle PositionEditingPanel (System.Drawing.Rectangle cellBounds, System.Drawing.Rectangle cellClip, System.Windows.Forms.DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow);
abstract member PositionEditingPanel : System.Drawing.Rectangle * System.Drawing.Rectangle * System.Windows.Forms.DataGridViewCellStyle * bool * bool * bool * bool -> System.Drawing.Rectangle
override this.PositionEditingPanel : System.Drawing.Rectangle * System.Drawing.Rectangle * System.Windows.Forms.DataGridViewCellStyle * bool * bool * bool * bool -> System.Drawing.Rectangle
Public Overridable Function PositionEditingPanel (cellBounds As Rectangle, cellClip As Rectangle, cellStyle As DataGridViewCellStyle, singleVerticalBorderAdded As Boolean, singleHorizontalBorderAdded As Boolean, isFirstDisplayedColumn As Boolean, isFirstDisplayedRow As Boolean) As Rectangle

매개 변수

cellBounds
Rectangle

셀 범위를 정의하는 Rectangle 입니다.

cellClip
Rectangle

편집 패널을 그리는 데 사용할 영역입니다.

cellStyle
DataGridViewCellStyle

편집되는 셀의 스타일을 나타내는 DataGridViewCellStyle 입니다.

singleVerticalBorderAdded
Boolean

셀에 세로 테두리를 추가하려면 true이고, 그러지 않으면 false입니다.

singleHorizontalBorderAdded
Boolean

셀에 가로 테두리를 추가하려면 true이고, 그러지 않으면 false입니다.

isFirstDisplayedColumn
Boolean

셀이 컨트롤에서 현재 표시되는 첫째 열에 있으면 true이고, 그렇지 않으면 false입니다.

isFirstDisplayedRow
Boolean

셀이 컨트롤에서 현재 표시되는 첫째 행에 있으면 true이고, 그렇지 않으면 false입니다.

반환

Rectangle

편집 패널에 있는 편집 컨트롤의 일반 범위를 나타내는 Rectangle입니다.

예외

셀이 DataGridView 컨트롤에 추가되지 않은 경우

적용 대상

추가 정보