Skip to main content

DxStackLayoutItem.CssClass Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

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.

<DxStackLayout>
    <Items>
        <DxStackLayoutItem Length="300" CssClass="stacklayout-item">
            <Template>
                ...
            </Template>
        </DxStackLayoutItem>
        <DxStackLayoutItem Length="2fr" CssClass="stacklayout-item">
            <Template>
                ...
            </Template>
        </DxStackLayoutItem>
        ...
    </Items>
</DxStackLayout>
See Also