Skip to main content

DxStackLayout.ItemContainerCssClass Property

Assign a CSS class to the component’s inner container with items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(null)]
[Parameter]
public string ItemContainerCssClass { get; set; }

Property Value

Type Default Description
String null

CSS class names delimited by spaces.

Remarks

The DxStackLayout component renders nested container elements. The top-level container includes the container that arranges items (the item container).

The ItemContainerCssClass property allows you to apply CSS rules to the item container. For example, you can change the gap between elements. You can also apply the nth-child selector to customize a specific layout item.

To specify style settings of the top-level container, use the DxComponentBase.CssClass property.

For more information on how to apply CSS classes to DevExpress Blazor components, refer to the following help topic: CSS Classes.

See Also