-
Notifications
You must be signed in to change notification settings - Fork 2
API TableLayoutPanel
Thomas Baker edited this page Apr 23, 2022
·
5 revisions
public static class TableLayoutPanelExtensions
public static TTableLayoutPanel ColumnStyles<TTableLayoutPanel>(
this TTableLayoutPanel tableLayoutPanel, string columnStyles)
where TTableLayoutPanel : TableLayoutPanel
Sets the ColumnStyles collection, and returns a reference to the panel.
NOTE: columnStyles is a string delimited by '|' with values for each ColumnStyle. Values are '*' or autosize, 'nn.n%' for percent width, and 'nn.n' for absolute. width
var panel = new TableLayoutPanel();
panel.ColumnStyles("25|40%|40%|*");
Name | Summary |
---|---|
tableLayoutPanel | |
columnStyles |
- public class TableLayoutPanel : Panel
- public class TTableLayoutPanel : TableLayoutPanel
public static TTableLayoutPanel RowStyles<TTableLayoutPanel>(
this TTableLayoutPanel tableLayoutPanel, string rowStyles)
where TTableLayoutPanel : TableLayoutPanel
- public class TableLayoutPanel : Panel
- public class TTableLayoutPanel : TableLayoutPanel
public static TTableLayoutPanel TableControls<TTableLayoutPanel>(
this TTableLayoutPanel tableLayoutPanel, params TableLocation[] children)
where TTableLayoutPanel : TableLayoutPanel
- public class TableLayoutPanel : Panel
- public class TableLocation
- public class TTableLayoutPanel : TableLayoutPanel
public static TTableLayoutPanel TableLayout<TTableLayoutPanel>(
this TTableLayoutPanel tableLayoutPanel, int columnCount, int rowCount, bool autoSize = true)
where TTableLayoutPanel : TableLayoutPanel
- public class TableLayoutPanel : Panel
- public class TTableLayoutPanel : TableLayoutPanel