DxStackLayoutItem.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.

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