menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RibbonComboBoxSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RibbonComboBoxSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    RibbonComboBoxSettingsBuilder
    Namespace: Syncfusion.EJ2.Ribbon
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RibbonComboBoxSettingsBuilder : ControlBuilder

    Constructors

    RibbonComboBoxSettingsBuilder()

    Declaration
    public RibbonComboBoxSettingsBuilder()

    RibbonComboBoxSettingsBuilder(RibbonComboBoxSettings)

    Declaration
    public RibbonComboBoxSettingsBuilder(RibbonComboBoxSettings model)
    Parameters
    Type Name Description
    RibbonComboBoxSettings model

    Methods

    AllowFiltering(Boolean)

    Specifies whether to show the filter bar (search box) of the combobox. The filter action retrieves matched items through the filtering event based on the characters typed in the search TextBox. If no match is found, the value of the noRecordsTemplate property will be displayed.

    Declaration
    public RibbonComboBoxSettingsBuilder AllowFiltering(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Autofill(Boolean)

    Specifies whether to suggest a first matched item in input when searching. No action happens when no matches found.

    Declaration
    public RibbonComboBoxSettingsBuilder Autofill(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    BeforeOpen(String)

    Event triggers before opening the popup.

    Declaration
    public RibbonComboBoxSettingsBuilder BeforeOpen(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Change(String)

    Event triggers when an item in a popup is selected or when the model value is changed by user.

    Declaration
    public RibbonComboBoxSettingsBuilder Change(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Close(String)

    Event triggers when the popup is closed.

    Declaration
    public RibbonComboBoxSettingsBuilder Close(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Created(String)

    Event triggers once the combobox is created.

    Declaration
    public RibbonComboBoxSettingsBuilder Created(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    CssClass(String)

    Defines the CSS class to customize the appearance of the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder CssClass(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    DataSource(Action<DataManagerBuilder>)

    Declaration
    public RibbonComboBoxSettingsBuilder DataSource(Action<DataManagerBuilder> dataSource)
    Parameters
    Type Name Description
    System.Action<Syncfusion.EJ2.DataManagerBuilder> dataSource
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    DataSource(Double[])

    Defines the list of items to shown in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder DataSource(double[] value)
    Parameters
    Type Name Description
    System.Double[] value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    DataSource(Object)

    Defines the list of items to shown in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder DataSource(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    DataSource(String[])

    Defines the list of items to shown in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder DataSource(string[] value)
    Parameters
    Type Name Description
    System.String[] value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Fields(Object)

    Specifies the mapping for the columns of the data table bind to the combobox. text - Maps the text column from data table for each list item. value - Maps the value column from data table for each list item. iconCss - Maps the icon class column from data table for each list item. groupBy - Group the list items with it's related items by mapping groupBy field.

    Declaration
    public RibbonComboBoxSettingsBuilder Fields(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Filtering(String)

    Event triggers on typing a character in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder Filtering(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    FilterType(Object)

    Specifies filter type to be considered on search action. The FilterType and its supported data types are

    Declaration
    public RibbonComboBoxSettingsBuilder FilterType(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    FooterTemplate(String)

    Specifies the template content for the footer container of the popup list.

    Declaration
    public RibbonComboBoxSettingsBuilder FooterTemplate(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    GroupTemplate(String)

    Specifies the template content for the group headers present in the popup list.

    Declaration
    public RibbonComboBoxSettingsBuilder GroupTemplate(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    HeaderTemplate(String)

    Specifies the template content for the header container of the popup list.

    Declaration
    public RibbonComboBoxSettingsBuilder HeaderTemplate(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    HtmlAttributes(Object)

    Specifies additional HTML attributes to be applied to the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder HtmlAttributes(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Index(Double)

    Specifies the index of the selected item in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder Index(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    ItemTemplate(String)

    Specifies the template content for each list item present in the popup.

    Declaration
    public RibbonComboBoxSettingsBuilder ItemTemplate(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Label(String)

    Specifies the label text for the overflow item.

    Declaration
    public RibbonComboBoxSettingsBuilder Label(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    NoRecordsTemplate(String)

    Specifies the template content for the popup list of combobox when no data is available.

    Declaration
    public RibbonComboBoxSettingsBuilder NoRecordsTemplate(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Open(String)

    Event triggers when the popup is opened

    Declaration
    public RibbonComboBoxSettingsBuilder Open(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Placeholder(String)

    Specifies a short hint that describes the expected value of the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder Placeholder(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    PopupHeight(String)

    Specifies the height of the popup list.

    Declaration
    public RibbonComboBoxSettingsBuilder PopupHeight(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    PopupWidth(String)

    Specifies the width of the popup list. By default, the popup width sets based on the width of the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder PopupWidth(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Select(String)

    Event triggers when an item in the popup is selected.

    Declaration
    public RibbonComboBoxSettingsBuilder Select(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    ShowClearButton(Boolean)

    Specifies whether to show or hide the clear button. When the clear button is clicked, value, text, and index properties are reset to null.

    Declaration
    public RibbonComboBoxSettingsBuilder ShowClearButton(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    SortOrder(Object)

    Specifies the order in which the data source needs to be sorted. The available type of sort orders are None - The data source is not sorted. Ascending - The data source is sorted in ascending order. Descending - The data source is sorted in descending order.

    Declaration
    public RibbonComboBoxSettingsBuilder SortOrder(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Text(String)

    Defines the display text of the selected item in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder Text(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Value(Boolean)

    Defines the value of the selected item in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder Value(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Value(Double)

    Defines the value of the selected item in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder Value(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Value(Object)

    Defines the value of the selected item in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder Value(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Value(String)

    Defines the value of the selected item in the combobox.

    Declaration
    public RibbonComboBoxSettingsBuilder Value(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder

    Width(String)

    Specifies the width of the combobox. By default, the combobox width sets based on the width of its parent container.

    Declaration
    public RibbonComboBoxSettingsBuilder Width(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RibbonComboBoxSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved