Επεξεργασία

Κοινή χρήση μέσω


TableCell.RowSpan Property

Definition

Gets or sets the number of rows in the Table control that the cell spans.

public:
 virtual property int RowSpan { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
public virtual int RowSpan { get; set; }
public virtual int RowSpan { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.RowSpan : int with get, set
member this.RowSpan : int with get, set
Public Overridable Property RowSpan As Integer

Property Value

The number of rows in the rendered table that the cell spans. The default value is 0, which indicates that this property is not set.

Attributes

Exceptions

The selected value is less than 0.

Remarks

Use the RowSpan property to specify or determine the number of rows in the rendered table that the cell spans. For example, if you set this property to 2, the cell takes up two rows in the Table control.

Applies to

See also