Edit

Share via


IGridItemProvider.RowSpan Property

Definition

Gets the number of rows spanned by a cell or item.

public:
 property int RowSpan { int get(); };
public int RowSpan { get; }
member this.RowSpan : int
Public ReadOnly Property RowSpan As Integer

Property Value

The number of rows spanned.

Examples

The following example code returns the property for an item in a grid whose items always span a single row.

int IGridItemProvider.ColumnSpan
{
    get 
    {
        return 1;    
    }
}
Private ReadOnly Property ColumnSpan() As Integer Implements IGridItemProvider.ColumnSpan
    Get
        Return 1
    End Get
End Property

Applies to

See also