ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AppBar

    Show / Hide Table of Contents

    Class AppBar

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    AppBar
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.EJ2.Navigations
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class AppBar : EJTagHelper

    Constructors

    AppBar()

    Declaration
    public AppBar()

    Properties

    ColorMode

    Specifies the color mode that defines the color of the AppBar component. The possible values for this property are as follows: Light: Specifies the AppBar in light color. Dark: Specifies the AppBar in dark color. Primary: Specifies the AppBar in a primary color. Inherit: Inherit color from parent for AppBar. AppBar background and colors are inherited from its parent element.

    Declaration
    [HtmlAttributeName("colorMode")]
    public AppBarColor ColorMode { get; set; }
    Property Value
    Type Description
    AppBarColor

    The default value is AppBarColor.Light

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type Description
    MvcTemplate<System.Object>

    Created

    Triggers after the AppBar component is created.

    Declaration
    [HtmlAttributeName("created")]
    public string Created { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    CssClass

    Accepts single/multiple CSS classes (separated by a space) to be used for AppBar customization.

    Declaration
    [HtmlAttributeName("cssClass")]
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Destroyed

    Triggers when the AppBar component is destroyed.

    Declaration
    [HtmlAttributeName("destroyed")]
    public string Destroyed { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    EnablePersistence

    Enable or disable persisting component's state between page reloads.

    Declaration
    [HtmlAttributeName("enablePersistence")]
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    EnableRtl

    Enable or disable rendering component in right to left direction.

    Declaration
    [HtmlAttributeName("enableRtl")]
    public bool EnableRtl { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    HtmlAttributes

    Accepts HTML attributes/custom attributes that will be applied to the AppBar element.

    Declaration
    [HtmlAttributeName("htmlAttributes")]
    public object HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    IsSticky

    Defines whether the AppBar position is fixed or not while scrolling the page. When set to true, the AppBar will be sticky while scrolling.

    Declaration
    [HtmlAttributeName("isSticky")]
    public bool IsSticky { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Locale

    Overrides the global culture and localization value for this component. Default global culture is 'en-US'.

    Declaration
    [HtmlAttributeName("locale")]
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Mode

    Specifies the mode of the AppBar that defines the AppBar height. The possible values for this property are as follows: Regular: Specifies default height for the AppBar. Prominent: Specifies longer height for the AppBar to show the longer titles and images, or to provide a stronger presence. Dense: Specifies compressed (short) height for the AppBar to accommodate all the app bar content in a denser layout.

    Declaration
    [HtmlAttributeName("mode")]
    public AppBarMode Mode { get; set; }
    Property Value
    Type Description
    AppBarMode

    The default value is AppBarMode.Regular

    Position

    Specifies the position of the AppBar. The possible values for this property are as follows: Top: Position the AppBar at the top. Bottom: Position the AppBar at the bottom.

    Declaration
    [HtmlAttributeName("position")]
    public AppBarPosition Position { get; set; }
    Property Value
    Type Description
    AppBarPosition

    The default value is AppBarPosition.Top

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved