DataGridViewCell.PositionEditingPanel 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
셀에서 호스팅하는 편집 패널의 위치와 크기를 설정하고 편집 패널 내에서 편집 컨트롤의 표준 범위를 반환합니다.
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
매개 변수
- 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 추가되지 않았습니다.