ASP.NET MVC

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AccordionProperties - ASP.NETMVC API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AccordionProperties

    Represents Accordion UI element.

    Inheritance
    System.Object
    EJTagHelper
    AccordionProperties
    Inherited Members
    EJTagHelper.GetControlDetails(String)
    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.JavaScript.Models
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class AccordionProperties : EJTagHelper

    Constructors

    AccordionProperties()

    Declaration
    public AccordionProperties()

    Properties

    Activate

    Occurs after a Accordion item is active or inactive.

    Declaration
    [JsonProperty("activate")]
    public string Activate { get; set; }
    Property Value
    Type Description
    System.String

    The activate.

    AjaxBeforeLoad

    Occurs before the AJAX content is loaded in a content panel

    Declaration
    [JsonProperty("ajaxBeforeLoad")]
    public string AjaxBeforeLoad { get; set; }
    Property Value
    Type Description
    System.String

    The ajax before load.

    AjaxError

    Occurs after AJAX load failed action.

    Declaration
    [JsonProperty("ajaxError")]
    public string AjaxError { get; set; }
    Property Value
    Type Description
    System.String

    The ajax error.

    AjaxLoad

    Occurs after the AJAX content loads.

    Declaration
    [JsonProperty("ajaxLoad")]
    public string AjaxLoad { get; set; }
    Property Value
    Type Description
    System.String

    The ajax load.

    AjaxSettings

    Gets or sets the ajaxSettings option to load the content to the accordion control.

    Declaration
    [JsonProperty("ajaxSettings")]
    public object AjaxSettings { get; set; }
    Property Value
    Type Description
    System.Object

    The ajax settings option.

    AjaxSuccess

    Occurs after AJAX success action.

    Declaration
    [JsonProperty("ajaxSuccess")]
    public string AjaxSuccess { get; set; }
    Property Value
    Type Description
    System.String

    The ajax success.

    AllowKeyboardNavigation

    Gets or sets the allow keyboard navigation.

    Declaration
    [JsonProperty("allowKeyboardNavigation")]
    public bool AllowKeyboardNavigation { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [allow keyboard navigation]; otherwise, false.

    BeforeActivate

    Occurs before a tab item is active.

    Declaration
    [JsonProperty("beforeActivate")]
    public string BeforeActivate { get; set; }
    Property Value
    Type Description
    System.String

    The before activate.

    BeforeInActivate

    Occurs after a Accordion item is active or inactive.

    Declaration
    [JsonProperty("beforeInactivate")]
    public string BeforeInActivate { get; set; }
    Property Value
    Type Description
    System.String

    The before inactivate.

    CollapseSpeed

    Gets or sets the Accordion headers Collapse Speed.

    Declaration
    [JsonProperty("collapseSpeed")]
    public string CollapseSpeed { get; set; }
    Property Value
    Type Description
    System.String

    The collapse speed.

    Collapsible

    Gets or sets the collapsible.

    Declaration
    [JsonProperty("collapsible")]
    public bool Collapsible { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [collapsible]; otherwise, false.

    Create

    Occurs before a tab item Create.

    Declaration
    [JsonProperty("create")]
    public string Create { get; set; }
    Property Value
    Type Description
    System.String

    The create.

    CssClass

    Gets or sets the root CSS class for Accordion theme, which is used customize.

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

    The CSS class.

    CustomIcon

    Gets or sets the custom header Icon. It accepts two key values “header”, ”selectedHeader”.

    Declaration
    [JsonProperty("customIcon")]
    public object CustomIcon { get; set; }
    Property Value
    Type Description
    System.Object

    The cutom icon.

    Destroy

    Occurs after Accordion control destroy.

    Declaration
    [JsonProperty("destroy")]
    public string Destroy { get; set; }
    Property Value
    Type Description
    System.String

    The destroy.

    DisableItems

    Gets or sets the disabled items in accordion.

    Declaration
    [JsonProperty("disabledItems")]
    public List<int> DisableItems { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    The disabled items.

    EmptyDataText

    Gets or sets the error message for Accordion.

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

    The empty text data.

    EnableAnimation

    Gets or sets the animation behavior in accordion.

    Declaration
    [JsonProperty("enableAnimation")]
    public bool EnableAnimation { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [enable animation]; otherwise, false.

    Enabled

    Gets or sets the enabled.

    Declaration
    [JsonProperty("enabled")]
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [enabled]; otherwise, false.

    EnabledItems

    Gets or sets the enabled items in accordion.

    Declaration
    [JsonProperty("enabledItems")]
    public List<int> EnabledItems { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    The enabled items.

    EnableMultipleOpen

    Gets or sets the multiple content panels to activate at a time.

    Declaration
    [JsonProperty("enableMultipleOpen")]
    public bool EnableMultipleOpen { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [enable multiple open]; otherwise, false.

    EnablePersistence

    Gets or sets the enable persistence.

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

    true if [enable persistence]; otherwise, false.

    EnableRTL

    Gets or sets the enable RTL.

    Declaration
    [JsonProperty("enableRTL")]
    public bool EnableRTL { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [enable RTL]; otherwise, false.

    Events

    Gets or sets the events API binds the action for activating the accordion header. Users can activate the header by using mouse actions such as mouse-over, mouse-up, mouse-down, and so on.

    Declaration
    [JsonProperty("events")]
    public string Events { get; set; }
    Property Value
    Type Description
    System.String

    The events.

    ExpandSpeed

    Gets or sets the Accordion headers Expand Speed.

    Declaration
    [JsonProperty("expandSpeed")]
    public string ExpandSpeed { get; set; }
    Property Value
    Type Description
    System.String

    The expand speed.

    HeaderSize

    Gets or sets the height for Accordion items header.

    Declaration
    [JsonProperty("headerSize")]
    public string HeaderSize { get; set; }
    Property Value
    Type Description
    System.String

    The header size.

    Height

    Gets or sets the height.

    Declaration
    [JsonProperty("height")]
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    The height.

    HeightAdjustMode

    Gets or sets the height adjust mode.

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("heightAdjustMode")]
    public HeightAdjustMode HeightAdjustMode { get; set; }
    Property Value
    Type Description
    HeightAdjustMode

    The height adjust mode.

    HtmlAttributes

    Gets or sets the html attributes.

    Declaration
    [JsonProperty("htmlAttributes")]
    public IDictionary<string, object> HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>

    The HTML attributes.

    InActivate

    Occurs after a Accordion item is active or inactive.

    Declaration
    [JsonProperty("inActivate")]
    public string InActivate { get; set; }
    Property Value
    Type Description
    System.String

    The inactivate.

    Items

    Gets or sets the accordion items.

    Declaration
    [JsonIgnore]
    public List<AccordionBaseItem> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<AccordionBaseItem>

    The items.

    SelectedItemIndex

    Gets or sets the selected item index.

    Declaration
    [JsonProperty("selectedItemIndex")]
    public int SelectedItemIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    The selected item index.

    SelectedItems

    Gets or sets the specified indexed items of the accordion.

    Declaration
    [JsonProperty("selectedItems")]
    public List<int> SelectedItems { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    The selected items.

    ShowRoundedCorner

    Gets or sets the show rounded corner.

    Declaration
    [JsonProperty("showRoundedCorner")]
    public bool ShowRoundedCorner { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [show rounded corner]; otherwise, false.

    Width

    Gets or sets the width.

    Declaration
    [JsonProperty("width")]
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    The width.

    Methods

    GetControlDetails()

    Declaration
    protected override object GetControlDetails()
    Returns
    Type Description
    System.Object
    Overrides
    EJTagHelper.GetControlDetails()

    ShouldSerializeAjaxSettings()

    ShouldSerialize Method for AjaxSettings

    Declaration
    public bool ShouldSerializeAjaxSettings()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeDisabledItems()

    ShouldSerialize Method for DisabledItems

    Declaration
    public bool ShouldSerializeDisabledItems()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeIconCSS()

    ShouldSerialize Method for IconCSS

    Declaration
    public bool ShouldSerializeIconCSS()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectedItems()

    ShouldSerialize Method for SelectedItems

    Declaration
    public bool ShouldSerializeSelectedItems()
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved