TableLayoutStyleCollection.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 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类型中。
样式的实例只能与单个容器相关联。