API TableLayoutPanel - bigtlb/WinFormMarkup GitHub Wiki

TableLayoutPanelExtensions

public static class TableLayoutPanelExtensions

Summary

Members

ColumnStyles

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

Examples

var panel = new TableLayoutPanel();
panel.ColumnStyles("25|40%|40%|*");

Parameters

Name Summary
tableLayoutPanel
columnStyles

See Also

  • public class TableLayoutPanel : Panel
  • public class TTableLayoutPanel : TableLayoutPanel

RowStyles

public static TTableLayoutPanel RowStyles<TTableLayoutPanel>(
    this TTableLayoutPanel tableLayoutPanel, string rowStyles)
    where TTableLayoutPanel : TableLayoutPanel

See Also

  • public class TableLayoutPanel : Panel
  • public class TTableLayoutPanel : TableLayoutPanel

TableControls

public static TTableLayoutPanel TableControls<TTableLayoutPanel>(
    this TTableLayoutPanel tableLayoutPanel, params TableLocation[] children)
    where TTableLayoutPanel : TableLayoutPanel

See Also

  • public class TableLayoutPanel : Panel
  • public class TableLocation
  • public class TTableLayoutPanel : TableLayoutPanel

TableLayout

public static TTableLayoutPanel TableLayout<TTableLayoutPanel>(
    this TTableLayoutPanel tableLayoutPanel, int columnCount, int rowCount, bool autoSize = true)
    where TTableLayoutPanel : TableLayoutPanel

See Also

  • public class TableLayoutPanel : Panel
  • public class TTableLayoutPanel : TableLayoutPanel