TableLayoutColumnStyleCollection.Insert(Int32, ColumnStyle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts a ColumnStyle into the TableLayoutColumnStyleCollection at the specified position.
public:
void Insert(int index, System::Windows::Forms::ColumnStyle ^ columnStyle);
public void Insert (int index, System.Windows.Forms.ColumnStyle columnStyle);
member this.Insert : int * System.Windows.Forms.ColumnStyle -> unit
Public Sub Insert (index As Integer, columnStyle As ColumnStyle)
Parameters
- index
- Int32
The zero-based index at which ColumnStyle should be inserted.
- columnStyle
- ColumnStyle
The ColumnStyle to insert into the TableLayoutColumnStyleCollection.
Remarks
The Insert method reapplies the table layout to all the controls in the current TableLayoutPanel container.
The number of styles stored in a collection is limited only by available memory.
In collections of contiguous elements, such as the TableLayoutColumnStyleCollection class, the elements that follow the insertion point move down to accommodate the inserted element. The indexes of the elements that are moved are also updated.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示