Class GPALTableLayoutPanel
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GenerallyPositive.GPALForm
Assembly: GPAL.dll
Syntax
public class GPALTableLayoutPanel : GPALControl, IAllowControlSettingsAndFontSettings, IAllowFontSettings, IAllowControlSettingsAndTableLayoutPanelSettings, IAllowControlSettings, IAllowTableLayoutPanelSettings
Properties
ColumnCount
Declaration
public int ColumnCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Enabled
Runtime access to Enable/Disable the tab.
Declaration
public bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | True [default] - enabled |
GrowStyle
Declaration
public TableLayoutPanelGrowStyle GrowStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Forms.TableLayoutPanelGrowStyle |
RowCount
Declaration
public int RowCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
WithColumnCount(Int32)
Declaration
public IAllowControlSettingsAndTableLayoutPanelSettings WithColumnCount(int columnCount)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | columnCount |
Returns
| Type | Description |
|---|---|
| IAllowControlSettingsAndTableLayoutPanelSettings |
WithEnabled(Boolean)
Fluent interface to set the initial state of the control
Declaration
public IAllowControlSettingsAndTableLayoutPanelSettings WithEnabled(bool enabled)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | enabled | True [default] |
Returns
| Type | Description |
|---|---|
| IAllowControlSettingsAndTableLayoutPanelSettings | Fluent interface to define more settings |
WithGrowStyle(TableLayoutPanelGrowStyle)
Declaration
public IAllowControlSettingsAndTableLayoutPanelSettings WithGrowStyle(TableLayoutPanelGrowStyle tableLayoutPanelGrowStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.TableLayoutPanelGrowStyle | tableLayoutPanelGrowStyle |
Returns
| Type | Description |
|---|---|
| IAllowControlSettingsAndTableLayoutPanelSettings |
WithRowCount(Int32)
Declaration
public IAllowControlSettingsAndTableLayoutPanelSettings WithRowCount(int rowCount)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | rowCount |
Returns
| Type | Description |
|---|---|
| IAllowControlSettingsAndTableLayoutPanelSettings |