Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxGridLayoutItem.RowSpan Property

Specifies the number of rows the grid layout’s item occupies.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(1)]
[Parameter]
public int RowSpan { get; set; }

#Property Value

Type Default Description
Int32 1

The number of rows.

#Remarks

A grid layout’s item can span multiple rows and columns. Use the RowSpan property to specify how many rows the item occupies.

Razor
<DxGridLayout>
    <Items>
        <DxGridLayoutItem Row="0" Column="0" RowSpan="2">
            <Template>
                <div>
                    Content
                </div>
            </Template>
        </DxGridLayoutItem>
        ...
    </Items>
</DxGridLayout>            

Run Demo Watch Video

See Also