WidgetFactory<TModel>.NavBar() Method

Creates a NavBar control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public NavBarBuilder NavBar()

Returns

Type Description
NavBarBuilder

An instance of NavBarBuilder.

Remarks

This method creates a NavBarBuilder class instance whose members can be used to specify NavBar options.

@(Html.DevExtreme().NavBar() // create a NavBar
    // call methods to specify control options
)
See Also