Skip to main content
All docs
V20.1

ToolbarBuilder.RenderAs(ToolbarRenderMode) Method

Mirrors the client-side renderAs option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ToolbarBuilder RenderAs(
    ToolbarRenderMode value
)

Parameters

Name Type Description
value ToolbarRenderMode

The option value.

Returns

Type Description
ToolbarBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Toolbar()
    .RenderAs(ToolbarRenderMode.BottomToolbar)
)
See Also