Export (0) Print
Expand All

TableLayoutSettings Class

Note: This class is new in the .NET Framework version 2.0.

Collects the characteristics associated with table layouts.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

[SerializableAttribute] 
public ref class TableLayoutSettings sealed : public LayoutSettings, ISerializable
/** @attribute SerializableAttribute() */ 
public final class TableLayoutSettings extends LayoutSettings implements ISerializable
SerializableAttribute 
public final class TableLayoutSettings extends LayoutSettings implements ISerializable

The TableLayoutSettings class collects and manages the characteristics associated with the table layout scheme. This class is used internally by the TableLayoutPanel and ToolStrip classes, as well as the table layout engine. The TableLayoutSettings class is used by the layout engine to determine how to lay out the container's child controls.

The TableLayoutSettings class manages the following information:

  • The TableLayoutPanelGrowStyle being used.

  • The maximum number of columns and rows in the layout.

  • The collection of styles used for the contained columns and rows.

The following example shows how to initialize a TableLayoutSettings object for a TableLayoutPanel control. For a full code listing, see How to: Implement a Custom ToolStripRenderer.

No code example is currently available or this language may not be supported.

System.Object
   System.Windows.Forms.LayoutSettings
    System.Windows.Forms.TableLayoutSettings

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft