ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Toolbar - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Toolbar

    Inheritance
    System.Object
    EJTagHelper
    Toolbar
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    Namespace: Syncfusion.EJ2.Navigations
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class Toolbar : EJTagHelper

    Constructors

    Toolbar()

    Declaration
    public Toolbar()

    Properties

    AllowKeyboard

    When this property is set to true, it allows the keyboard interaction in toolbar.

    Declaration
    public bool AllowKeyboard { get; set; }
    Property Value
    Type Description
    System.Boolean

    BeforeCreate

    The event will be fired before the control is rendered on a page.

    Declaration
    public string BeforeCreate { get; set; }
    Property Value
    Type Description
    System.String

    ClassName

    Declaration
    protected override string ClassName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ClassName

    Clicked

    The event will be fired on clicking the Toolbar elements.

    Declaration
    public string Clicked { get; set; }
    Property Value
    Type Description
    System.String

    ContentTemplate

    To get or set value for ContentTemplate.

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

    Created

    The event will be fired when the control is rendered.

    Declaration
    public string Created { get; set; }
    Property Value
    Type Description
    System.String

    CssClass

    Sets the CSS classes to root element of the Tab that helps to customize component styles.

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    Destroyed

    The event will be fired when the control gets destroyed.

    Declaration
    public string Destroyed { get; set; }
    Property Value
    Type Description
    System.String

    EnableCollision

    Enable or disable the popup collision.

    Declaration
    public bool EnableCollision { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableHtmlSanitizer

    Defines whether to allow the cross-scripting site or not.

    Declaration
    public bool EnableHtmlSanitizer { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnablePersistence

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

    Declaration
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableRtl

    Enable or disable rendering component in right to left direction.

    Declaration
    public bool EnableRtl { get; set; }
    Property Value
    Type Description
    System.Boolean

    Height

    Specifies the height of the Toolbar in pixels/number/percentage. Number value is considered as pixels.

    Declaration
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    HtmlAttributes

    Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.

    Declaration
    public object HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Object

    IsFor

    Declaration
    protected override bool IsFor { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsFor

    Items

    An array of items that is used to configure Toolbar commands.

    Declaration
    public List<ToolbarItem> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<ToolbarItem>

    Locale

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

    Declaration
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    NameSpace

    Declaration
    protected override string NameSpace { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.NameSpace

    OverflowMode

    Specifies the Toolbar display mode when Toolbar content exceeds the viewing area. Possible modes are:

    • Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
    • Popup: Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the popup.
    • MultiRow: Displays the overflow toolbar items as an in-line of a toolbar.
    • Extended: Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons. If the popup content overflows the height of the page, the rest of the elements will be hidden.
    Declaration
    public OverflowMode OverflowMode { get; set; }
    Property Value
    Type Description
    OverflowMode

    ScrollStep

    Specifies the scrolling distance in scroller.

    Declaration
    public double ScrollStep { get; set; }
    Property Value
    Type Description
    System.Double

    TagName

    Declaration
    protected override string TagName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.TagName

    Width

    Specifies the width of the Toolbar in pixels/numbers/percentage. Number value is considered as pixels.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved