System.Windows.Forms.TableLayoutPanel.SetRowSpan Method

Sets the number of rows spanned by the child control.

Syntax

public void SetRowSpan (Control control, int value)

Parameters

control
A child control of the System.Windows.Forms.TableLayoutPanel.
value
The number of rows to span.

Remarks

Row spanning is often useful for positioning a control that is considerably taller than its peers.

This method is called by the RowSpan property, which the panel adds to its child controls at design time.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0