TableLayoutStyleCollection.Item[Int32] 屬性

定義

在指定索引處取得或集合 TableLayoutStyle

public:
 property System::Windows::Forms::TableLayoutStyle ^ default[int] { System::Windows::Forms::TableLayoutStyle ^ get(int index); void set(int index, System::Windows::Forms::TableLayoutStyle ^ value); };
public System.Windows.Forms.TableLayoutStyle this[int index] { get; set; }
member this.Item(int) : System.Windows.Forms.TableLayoutStyle with get, set
Default Public Property Item(index As Integer) As TableLayoutStyle

參數

index
Int32

就是 to get 或 set 的 TableLayoutStyle 零基指數。

屬性值

TableLayoutStyle A在指定索引上。

例外狀況

房產價值已經轉讓給另一位所有人。 你必須先把它從目前的位置移除或複製它。

備註

導出 TableLayoutStyle 型別 ColumnStyle 中只有一個,或 RowStyle,能儲存在 TableLayoutStyleCollection

一個樣式的實例只能與單一容器相關聯。

適用於

另請參閱