-
Notifications
You must be signed in to change notification settings - Fork 1
TableLayoutPanel
ProGraMajster edited this page Mar 28, 2026
·
1 revision
Represents a TableLayoutPanel control.
var table = new TableLayoutPanel();
table.Controls.Add(new Label { Text = "Name" }, 0, 0);
table.Controls.Add(new TextBox(), 1, 0);| Name | Summary |
|---|---|
ColumnCount |
This sets the maximum number of columns allowed on this table instead of allocating actual spaces for these columns. So it is OK to set ColumnCount to Int32.MaxValue without causing out of memory exception |
ColumnStyles |
Gets the collection of ColumnStyles for this TableLayoutPanel. |
Controls |
Gets the collection of controls contained by the control. |
GrowStyle |
Specifies if a TableLayoutPanel will gain additional rows or columns once its existing cells become full. If the value is 'FixedSize' then the TableLayoutPanel will throw an exception when the TableLayoutPanel is over-filled. |
LayoutEngine |
No XML summary yet. |
LayoutSettings |
Gets the layout settings associated with this TableLayoutPanel. |
RowCount |
This sets the maximum number of rows allowed on this table instead of allocating actual spaces for these rows. So it is OK to set RowCount to Int32.MaxValue without causing out of memory exception |
RowStyles |
Gets the collection of RowStyles for this TableLayoutPanel. |
| Name | Summary |
|---|---|
#ctor |
Initializes a new instance of the TableLayoutPanel class. |
CreateControlsInstance |
No XML summary yet. |
GetCellPosition |
Gets the row and column position of the specified control. |
GetColumn |
Gets the column position of the specified control. |
GetColumnSpan |
Returns the column span value for the specified control. |
GetColumnWidths |
Gets an array representing the widths (in pixels) of the columns in the TableLayoutPanel. |
GetControlFromPosition |
Gets the control which covers the specified row and column. return null if we can't find one |
GetPositionFromControl |
Gets the row and column position of the specified control. |
GetRow |
Gets the row position of the specified control. |
GetRowHeights |
Gets an array representing the heights (in pixels) of the rows in the TableLayoutPanel. |
GetRowSpan |
Returns the row span value for the specified control. |
ScaleCore |
No XML summary yet. |
SetCellPosition |
Sets the row and column position of the specified control. |
SetColumn |
Sets the column position of the specified control. |
SetColumnSpan |
Sets the column span value for the specified control. |
SetRow |
Sets the row position of the specified control. |
SetRowSpan |
Sets the row span value for the specified control. |
No documented members yet.
- This page was generated from the public XML documentation of
ModernFormsNext. - Base members inherited from
Control,ScrollableControl,WindowBase, or other parent types may not all be repeated here.
- Home
-
API Reference
- AccessibleEvents
- AccessibleNavigation
- AccessibleObject
- AccessibleObjectNotificationEventArgs
- AccessibleRole
- AccessibleSelection
- AccessibleStates
- PlatformAccessibleObjectAdapter
- QueryAccessibilityHelpEventArgs
- QueryAccessibilityHelpEventHandler
- AnchorStyles
- Animation
- AnimationManager
- ControlAnimationEffects
- ControlAnimationExtensions
- Easings
- Application
- ArrowDirection
- AutoSizeMode
- BorderSideStyle
- BorderStyle
- BoundsSpecified
- BuiltInTheme
- Button
- CheckBox
- CheckState
- Clipboard
- ColorBox
- ColorDialog
- ColumnStyle
- ComboBox
- CommonDialog
- ContentAlignment
- ContextMenu
- Control
- ControlAccessibleObject
- ControlCollection
- ControlBehaviors
- ControlPaint
- ControlStyle
- Cursor
- Cursors
- BaseCollection
- BindableComponent
- Binding
- BindingCompleteContext
- BindingCompleteEventArgs
- BindingCompleteEventHandler
- BindingCompleteState
- BindingContext
- BindingManagerBase
- BindingManagerDataErrorEventArgs
- BindingManagerDataErrorEventHandler
- BindingMemberInfo
- BindingsCollection
- BindingSource
- BindingValueFormatter
- ControlBindingsCollection
- ControlUpdateMode
- ConvertEventArgs
- ConvertEventHandler
- CurrencyManager
- DataSourceUpdateMode
- IBindableComponent
- ICommandExecutor
- ICurrencyManagerProvider
- ItemChangedEventArgs
- ItemChangedEventHandler
- ListBindingConverter
- ListBindingHelper
- ListManagerBindingsCollection
- PropertyManager
- RelatedCurrencyManager
- DataGridView
- DataGridViewCell
- DataGridViewCellCollection
- DataGridViewCellEditEventArgs
- DataGridViewColumn
- DataGridViewColumnCollection
- DataGridViewColumnHeaderCell
- DataGridViewHeaderCell
- DataGridViewRow
- DataGridViewRowCollection
- DataGridViewRowHeaderCell
- DataGridViewSelectionMode
- DateTimePicker
- DateTimePickerCalendar
- DateTimePickerFormat
- DialogResult
- DockStyle
- Brush
- GlassBrush
- GradientBrush
- GradientStop
- LinearGradientBrush
- RadialGradientBrush
- SolidColorBrush
- SweepGradientBrush
- DrawingExtensions
- EventArgs`1
- FileDialog
- FileSystemDialog
- FlowDirection
- FlowLayoutPanel
- FlowLayoutSettings
- FolderBrowserDialog
- Font
- FontDialog
- FontDialogRenderingMode
- FontStyle
- Form
- FormCollection
- FormStartPosition
- FormTitleBar
- TitleBarButtonGlyph
- FormWindowState
- Help
- HelpEventArgs
- HelpEventHandler
- HelpNavigator
- HelpProvider
- HorizontalAlignment
- HorizontalScrollBar
- HueSlider
- IContainerControl
- ILayoutable
- ImageCollection
- ImageList
- InsertKeyMode
- KeyEventArgs
- KeyPressEventArgs
- Keys
- Label
- ContainerProxy
- ElementProxy
- TopDownProxy
- VerticalElementProxy
- LayoutEngine
- PropertyStore
- IntegerEntry
- ObjectEntry
- ContainerInfo
- LayoutInfo
- LayoutEventArgs
- LayoutSettings
- LinkArea
- LinkBehavior
- LinkLabel
- Link
- LinkCollection
- LinkLabelLinkClickedEventArgs
- LinkState
- ListBox
- ListBoxItemCollection
- ListView
- ListViewItem
- ListViewItemCollection
- MaskedTextBox
- MaskFormat
- MaskInputRejectedEventArgs
- MaskInputRejectedEventHandler
- Menu
- MenuBase
- MenuDropDown
- MenuItem
- MenuItemCollection
- MenuSeparatorItem
- MessageBoxForm
- MouseButtons
- MouseEventArgs
- NavigationPane
- NavigationPaneItem
- NavigationPaneItemCollection
- NotifyIcon
- NotifyIconActivationBehavior
- NotifyIconBalloonIcon
- NotifyIconContextMenu
- NotifyIconMenuItem
- NotifyIconMenuItemCollection
- NotifyIconMenuSeparatorItem
- NumericUpDown
- NumericUpDownTextBox
- OpenFileDialog
- Orientation
- Padding
- PaintEventArgs
- Panel
- PictureBox
- PictureBoxSizeMode
- PopupWindow
- ProgressBar
- RadioButton
- ButtonRenderer
- CheckBoxRenderer
- ColorBoxRenderer
- ComboBoxRenderer
- DataGridViewRenderer
- DateTimePickerRenderer
- FormTitleBarRenderer
- HueSliderRenderer
- IRenderGlyph
- IRenderTextAndImage
- LabelRenderer
- LinkLabelRenderer
- ListBoxRenderer
- ListViewRenderer
- MenuDropDownRenderer
- MenuRenderer
- NavigationPaneRenderer
- NumericUpDownRenderer
- PanelRenderer
- PictureBoxRenderer
- ProgressBarRenderer
- RadioButtonRenderer
- Renderer
- Renderer`1
- RenderManager
- RibbonRenderer
- ScrollableControlRenderer
- ScrollBarRenderer
- SplitContainerRenderer
- SplitterRenderer
- StatusBarRenderer
- TabControlRenderer
- TabStripRenderer
- TextBoxRenderer
- ToolBarRenderer
- TrackBarRenderer
- TreeViewRenderer
- Ribbon
- RibbonItemGroup
- RibbonItemGroupCollection
- RibbonTabPage
- RibbonTabPageCollection
- RowStyle
- SaveFileDialog
- ScrollableControl
- ScrollBar
- ScrollBars
- ScrollControl
- ScrollEventArgs
- ScrollEventType
- ScrollOrientation
- ScrollProperties
- SelectionMode
- SizeType
- SkiaExtensions
- SkiaTextExtensions
- SortOrder
- SplitContainer
- Splitter
- StatusBar
- TabControl
- TableLayoutCellPaintEventArgs
- TableLayoutColumnStyleCollection
- TableLayoutControlCollection
- TableLayoutPanel
- TableLayoutPanelCellBorderStyle
- TableLayoutPanelCellPosition
- TableLayoutPanelGrowStyle
- TableLayoutRowStyleCollection
- TableLayoutSettings
- TableLayoutStyle
- TableLayoutStyleCollection
- TabPage
- TabPageCancelEventArgs
- TabPageCollection
- TabPageEventArgs
- TabStrip
- TabStripItem
- TabDisplayMode
- TabStripItemCollection
- TabStripItemEventArgs
- TextBox
- TextImageRelation
- TextMeasurer
- TextSelection
- Theme
- TickStyle
- Timer
- ToolBar
- TrackBar
- TreeView
- TreeViewControlStyle
- TreeViewDrawEventArgs
- TreeViewDrawMode
- TreeViewItem
- TreeViewItemElement
- TreeViewItemCollection
- TypeValidationEventArgs
- TypeValidationEventHandler
- VerticalScrollBar
- WindowBase