a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
112 lines
8.1 KiB
XML
112 lines
8.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="TableLayoutControlCollection" FullName="System.Windows.Forms.TableLayoutControlCollection">
|
|
<TypeSignature Language="C#" Value="public class TableLayoutControlCollection : System.Windows.Forms.Control.ControlCollection" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Windows.Forms</AssemblyName>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Windows.Forms.Control+ControlCollection</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>System.ComponentModel.ListBindable(false)</AttributeName>
|
|
</Attribute>
|
|
<Attribute>
|
|
<AttributeName>System.ComponentModel.Design.Serialization.DesignerSerializer("System.Windows.Forms.Design.TableLayoutControlCollectionCodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="T:System.Windows.Forms.TableLayoutControlCollection" /> class represents the collection of all the child controls in a <see cref="T:System.Windows.Forms.TableLayoutPanel" /> control. This collection is exposed by the <see cref="P:System.Windows.Forms.TableLayoutPanel.Controls" /> property of the <see cref="T:System.Windows.Forms.TableLayoutPanel" /> class. You can manage and individually manipulate members of the table layout panel through the <see cref="T:System.Windows.Forms.TableLayoutControlCollection" /> exposed by <see cref="P:System.Windows.Forms.TableLayoutPanel.Controls" />. </para>
|
|
<para>The <see cref="T:System.Windows.Forms.TableLayoutControlCollection" /> class is a minor specialization of the <see cref="T:System.Windows.Forms.Control.ControlCollection" /> base class.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Represents a collection of child controls in a table layout container.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public TableLayoutControlCollection (System.Windows.Forms.TableLayoutPanel container);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Parameters>
|
|
<Parameter Name="container" Type="System.Windows.Forms.TableLayoutPanel" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Generally, the application programmer will not directly create instances of the <see cref="T:System.Windows.Forms.TableLayoutControlCollection" /> class. Instead, a reference to an existing <see cref="T:System.Windows.Forms.TableLayoutControlCollection" /> is returned by the <see cref="P:System.Windows.Forms.TableLayoutPanel.Controls" /> property.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Initializes a new instance of the <see cref="T:System.Windows.Forms.TableLayoutControlCollection" /> class.</para>
|
|
</summary>
|
|
<param name="container">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.TableLayoutPanel" /> control that contains the control collection.</param>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Add">
|
|
<MemberSignature Language="C#" Value="public virtual void Add (System.Windows.Forms.Control control, int column, int row);" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="control" Type="System.Windows.Forms.Control" />
|
|
<Parameter Name="column" Type="System.Int32" />
|
|
<Parameter Name="row" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>With <see cref="M:System.Windows.Forms.TableLayoutControlCollection.Add(System.Windows.Forms.Control,System.Int32,System.Int32)" />, you can specify the cell position of <paramref name="control" />. You can assign <paramref name="control" /> to a specific cell by providing both the <paramref name="column" /> and <paramref name="row" /> parameters, or you can specify only the column or row value and let the <see cref="P:System.Windows.Forms.TableLayoutPanel.LayoutEngine" /> place <paramref name="control" /> at the next open cell. This is known as letting the control <newTerm>flow</newTerm> to its position in the <see cref="T:System.Windows.Forms.TableLayoutPanel" /> control. </para>
|
|
<para>Set <paramref name="column" /> to -1 if you want <paramref name="control" /> to occupy a fixed row position. </para>
|
|
<para>Set <paramref name="row" /> to -1 if you want <paramref name="control" /> to occupy a fixed column position.</para>
|
|
<para>If neither <paramref name="column" /> nor <paramref name="row" /> is -1, <paramref name="control" /> will be added at the absolute position given by (<paramref name="column" />, <paramref name="row" />). </para>
|
|
<para>If you set both <paramref name="column" /> and <paramref name="row" /> to -1, <paramref name="control" /> will flow to the first open position, with the specific flow behavior defined by the <see cref="P:System.Windows.Forms.TableLayoutPanel.GrowStyle" /> value. This is equivalent to using the <see cref="M:System.Windows.Forms.Control.ControlCollection.Add(System.Windows.Forms.Control)" /> method. </para>
|
|
<para>To get to the actual current position of a control, use the <see cref="M:System.Windows.Forms.TableLayoutPanel.GetPositionFromControl(System.Windows.Forms.Control)" /> method. This method takes into account the entire <see cref="T:System.Windows.Forms.TableLayoutPanel" /> control state, including column or row spanning and when the <see cref="P:System.Windows.Forms.TableLayoutPanel.LayoutEngine" /> has placed a control with its Column and Row properties set to -1.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Adds the specified control to the collection and positions it at the specified cell.</para>
|
|
</summary>
|
|
<param name="control">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The control to add.</param>
|
|
<param name="column">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The column in which <paramref name="control" /> will be placed.</param>
|
|
<param name="row">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The row in which <paramref name="control" /> will be placed.</param>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Container">
|
|
<MemberSignature Language="C#" Value="public System.Windows.Forms.TableLayoutPanel Container { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Windows.Forms.TableLayoutPanel</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added.</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>This property is set by the <see cref="M:System.Windows.Forms.TableLayoutControlCollection.#ctor(System.Windows.Forms.TableLayoutPanel)" /> constructor.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets the parent <see cref="T:System.Windows.Forms.TableLayoutPanel" /> that contains the controls in the collection.</para>
|
|
</summary>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |