Back to Devexpress

ToolbarBuilder.Multiline(Boolean) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-toolbarbuilder-dot-multiline-x28-system-dot-boolean-x29.md

latest1.3 KB
Original Source

ToolbarBuilder.Multiline(Boolean) Method

Specifies whether or not the Toolbar arranges items into multiple lines when their combined width exceeds the Toolbar width. Mirrors the client-side multiline option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public ToolbarBuilder Multiline(
    bool value
)

Parameters

NameTypeDescription
valueBoolean

The option value.

|

Returns

TypeDescription
ToolbarBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Toolbar()
    .Multiline(true)
)

See Also

ToolbarBuilder Class

ToolbarBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace