Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

160 lines
7.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="ColumnStyle" FullName="System.Windows.Forms.ColumnStyle">
<TypeSignature Language="C#" Value="public class ColumnStyle : System.Windows.Forms.TableLayoutStyle" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Forms.TableLayoutStyle</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Windows.Forms.ColumnStyle" /> class represents the user interface (UI) characteristics of column in a <see cref="T:System.Windows.Forms.TableLayoutPanel" />. The styles for all the columns in such a table are collected in the <see cref="P:System.Windows.Forms.TableLayoutPanel.ColumnStyles" /> property.</para>
<para>This simple class offers the <see cref="P:System.Windows.Forms.ColumnStyle.Width" /> and <see cref="P:System.Windows.Forms.TableLayoutStyle.SizeType" /> properties for a column.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents the look and feel of a column in a table layout.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ColumnStyle ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This constructor sets the <see cref="P:System.Windows.Forms.TableLayoutStyle.SizeType" /> property to <see cref="F:System.Windows.Forms.SizeType.AutoSize" /> and the <see cref="P:System.Windows.Forms.ColumnStyle.Width" /> property to 0.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes and instance of the <see cref="T:System.Windows.Forms.ColumnStyle" /> class to its default state.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ColumnStyle (System.Windows.Forms.SizeType sizeType);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="sizeType" Type="System.Windows.Forms.SizeType" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This constructor sets the <see cref="P:System.Windows.Forms.ColumnStyle.Width" /> property to 0.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes an instance of the <see cref="T:System.Windows.Forms.ColumnStyle" /> class using the supplied <see cref="T:System.Windows.Forms.SizeType" /> value.</para>
</summary>
<param name="sizeType">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="P:System.Windows.Forms.TableLayoutStyle.SizeType" /> indicating how the column should be should be sized relative to its containing table.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ColumnStyle (System.Windows.Forms.SizeType sizeType, float width);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="sizeType" Type="System.Windows.Forms.SizeType" />
<Parameter Name="width" Type="System.Single" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The exact meaning of the <paramref name="width" /> parameter will vary depending on the <paramref name="sizeType" /> parameter. For more information, see the <see cref="P:System.Windows.Forms.ColumnStyle.Width" /> property. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes and instance of the <see cref="T:System.Windows.Forms.ColumnStyle" /> class using the supplied <see cref="T:System.Windows.Forms.SizeType" /> and width values.</para>
</summary>
<param name="sizeType">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="P:System.Windows.Forms.TableLayoutStyle.SizeType" /> indicating how the column should be should be sized relative to its containing table.</param>
<param name="width">
<attribution license="cc4" from="Microsoft" modified="false" />The preferred width, in pixels or percentage, depending on the <paramref name="sizeType" /> parameter.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Width">
<MemberSignature Language="C#" Value="public float Width { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <paramref name="width" /> parameter will take on different meanings depending on the <see cref="P:System.Windows.Forms.TableLayoutStyle.SizeType" /> property.</para>
<list type="table">
<listheader>
<item>
<term>
<para>
<paramref name="sizeType" /> value</para>
</term>
<description>
<para>
<paramref name="width" /> interpretation</para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="F:System.Windows.Forms.SizeType.Absolute" />
</para>
</term>
<description>
<para>The preferred column width in pixels (fractional portion ignored).</para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Windows.Forms.SizeType.AutoSize" />
</para>
</term>
<description>
<para>Not applicable—the width parameter is ignored.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Windows.Forms.SizeType.Percent" />
</para>
</term>
<description>
<para>The preferred column width as a percentage of the containing table.</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the width value for a column.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>