DxGridLayoutItem.CssClass Property

Specifies the name of the CSS class applied to the layout item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

Declaration

[Parameter]
public string CssClass { get; set; }

Property Value

Type Description
String

The CSS class name.

Remarks

Assign a CSS class name to the CssClass property to define the appearance of the layout item.

<DxGridLayout>
    ...
    <Items>
        <DxGridLayoutItem Row="0" Column="0" ColumnSpan="3" CssClass="gridlayout-item">
            <Template>
                ...
            </Template>
        </DxGridLayoutItem>
        <DxGridLayoutItem Row="1" Column="1" CssClass="gridlayout-item">
            <Template>
                ...
            </Template>
        </DxGridLayoutItem>
        ...
    </Items>
</DxGridLayout>
See Also