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

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

cellClip
Rectangle

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

cellStyle
DataGridViewCellStyle

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

singleVerticalBorderAdded
Boolean

true셀에 세로 테두리를 추가하려면 그렇지 않으면 . false

singleHorizontalBorderAdded
Boolean

true셀에 가로 테두리를 추가하려면 그렇지 않으면 . false

isFirstDisplayedColumn
Boolean

true셀이 현재 컨트롤에 표시된 첫 번째 열에 있으면 이고, 그렇지 않으면 . false

isFirstDisplayedRow
Boolean

true셀이 현재 컨트롤에 표시된 첫 번째 행에 있으면 이고, 그렇지 않으면 . false

반품

Rectangle 편집 패널 내에서 편집 컨트롤의 표준 범위를 나타내는 A입니다.

예외

셀이 컨트롤에 DataGridView 추가되지 않았습니다.

적용 대상

추가 정보