Skip to main content

BootstrapMenuBuilder.ItemAutoWidth(Boolean) Method

Sets a value that specifies whether root item widths are calculated automatically, so that root items are resized (stretched or shrinked) proportionally to the menu control’s width.

Namespace: DevExpress.AspNetCore.Bootstrap

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll

Declaration

public BootstrapMenuBuilder ItemAutoWidth(
    bool itemAutoWidth
)

Parameters

Name Type
itemAutoWidth Boolean

Returns

Type
BootstrapMenuBuilder

Remarks

IMPORTANT

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

See Also