menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ListBoxSelectionSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    ListBoxSelectionSettings
    Namespace: Syncfusion.EJ2.DropDowns
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ListBoxSelectionSettings : EJTagHelper

    Constructors

    ListBoxSelectionSettings()

    Declaration
    public ListBoxSelectionSettings()

    Properties

    CheckboxPosition

    Set the position of the checkbox.

    Declaration
    public CheckBoxPosition CheckboxPosition { get; set; }
    Property Value
    Type Description
    CheckBoxPosition

    The default value is CheckBoxPosition.Left

    ContentTemplate

    To get or set value for ContentTemplate.

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

    Mode

    Specifies the selection modes. The possible values are Single: Allows you to select a single item in the ListBox. Multiple: Allows you to select more than one item in the ListBox.

    Declaration
    public SelectionMode Mode { get; set; }
    Property Value
    Type Description
    SelectionMode

    The default value is SelectionMode.Multiple

    ShowCheckbox

    If 'showCheckbox' is set to true, then 'checkbox' will be visualized in the list item.

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

    The default value is false

    ShowSelectAll

    Allows you to either show or hide the selectAll option on the component.

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

    The default value is false

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