We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The ASP.NET MVC AppBar, also known as an action bar or nav bar, displays information and actions related to the current application screen. It is used to show branding, screen titles, navigation, and actions. The control supports height modes, color modes, positioning, and more.


Size

Display the AppBar with predefined sizes: normal, long, or short. The size of an AppBar can be changed using the regular, prominent, and dense properties.

ASP.NET MVC AppBar size


Color

The AppBar has predefined background colors for different visual representations: light, dark, primary, and inherit.

ASP.NET MVC AppBar color


Position

A row of content can be aligned horizontally at the top or bottom of the AppBar.

ASP.NET MVC AppBar position


Sticky

AppBar can stick to the top of a page while scrolling the content.

ASP.NET MVC AppBar sticky


Content alignment

The ASP.NET MVC AppBar component aligns the content using a spacer and separator.

ASP.NET MVC AppBar content alignment


Responsive design

The AppBar layout will adjust automatically to the current screen size.

ASP.NET MVC AppBar responsive design


Separator

A separator is a vertical line that visually separates or groups items in an AppBar.

ASP.NET MVC AppBar separator


Developer-friendly APIs

Developers can control the appearance and behaviors of the AppBar using a rich set of APIs.

Built-in themes

The ASP.NET MVC AppBar control supports built-in themes: Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and high contrast. Users can customize these built-in themes or create new themes to achieve their desired look and feel by either simply overriding SASS variables or using our Theme Studio application.


ASP.NET MVC AppBar code example

Easily get started with the ASP.NET MVC AppBar using a few simple lines of CSHTML and C# code, as demonstrated below. Also, explore our ASP.NET MVC AppBar example, which shows how to render and configure an AppBar in ASP.NET MVC.

@using Syncfusion.EJ2
@{
    ViewBag.Title = "DefaultFunctionalities";
}

@section ControlsSection{
    <div class="control-section">
        @(Html.EJS().AppBar("defaultAppBar").ColorMode(AppBarColor.Primary).ContentTemplate(@<div>
            @Html.EJS().Button("defaultButtonMenu").CssClass("e-inherit").IconCss("e-icons e-menu").Render()
            <span class="regular" style="margin:0 5px">EJ2 AppBar</span>
            <div class="e-appbar-spacer"></div>
            @Html.EJS().Button("defaultButtonLogin").CssClass("e-inherit").Content("FREE TRIAL").Render()
        </div>).Render())
    </div>
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EJ2MVCSampleBrowser.Models;
using MVCSampleBrowser.Models;

namespace EJ2MVCSampleBrowser.Controllers.AppBar
{
    public partial class AppBarController : Controller
    {
        // GET: DefaultFunctionalities
        public ActionResult DefaultFunctionalities()
        {
            return View();
        }
    }
}

Other supported frameworks

The AppBar component is also available in our Blazor, JavaScript, Angular, React, and Vue frameworks. Check out the component on other platforms using these links:




85+ ASP.NET MVC UI CONTROLS

Frequently Asked Questions

  • A simple and highly customizable interface.
  • Customizable height, theme color, position, and more.
  • Effortless integration with components like Button, Dropdown Menu, Menu Bar, and more.
  • Standard, predefined, and contextual color variants.
  • Industry-standard themes included: Material, Fabric, and Bootstrap.
  • Support for all modern browsers.
  • Touch-friendly and responsive UI.
  • Extensive demos and documentation to let you get started quickly with the ASP.NET MVC AppBar.

You can find our ASP.NET MVC AppBar demo, which demonstrates how to render and configure the AppBar.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile