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

要获取或设置的 TableLayoutStyle 从零开始的索引。

属性值

位于指定索引处的 A TableLayoutStyle

例外

属性值已分配给另一个所有者。 必须先将其从当前位置删除或克隆。

注解

只有一个派生类型,TableLayoutStyle或者ColumnStyle,只能存储在一个RowStyle派生TableLayoutStyleCollection类型中。

样式的实例只能与单个容器相关联。

适用于

另请参阅