TableLayoutRowStyleCollection.Insert(Int32, RowStyle) 메서드

정의

지정된 위치에 있는 RowStyleTableLayoutRowStyleCollection을 삽입합니다.

public:
 void Insert(int index, System::Windows::Forms::RowStyle ^ rowStyle);
public void Insert (int index, System.Windows.Forms.RowStyle rowStyle);
member this.Insert : int * System.Windows.Forms.RowStyle -> unit
Public Sub Insert (index As Integer, rowStyle As RowStyle)

매개 변수

index
Int32

0부터 시작하는 인덱스이며 RowStyle을 삽입해야 합니다.

rowStyle
RowStyle

TableLayoutRowStyleCollection에 삽입할 RowStyle입니다. 값은 null이 될 수 있습니다.

설명

합니다 Insert 메서드는 현재에서 모든 컨트롤에 테이블 레이아웃을 다시 적용 TableLayoutPanel 컨테이너입니다.

컬렉션에 저장 된 스타일의 수는 사용 가능한 메모리 크기로 제한 됩니다.

연속 요소를 컬렉션에 같은 TableLayoutRowStyleCollection 클래스 삽입 지점 다음에 오는 아래로 이동 하 여 삽입 된 요소입니다. 이동 되는 요소의 인덱스도 업데이트 됩니다.

적용 대상

추가 정보