MultiSelectList Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a list of items that users can select more than one item from.
public class MultiSelectList : System.Collections.Generic.IEnumerable<System.Web.Mvc.SelectListItem>
type MultiSelectList = class
interface seq<SelectListItem>
interface IEnumerable
Public Class MultiSelectList
Implements IEnumerable(Of SelectListItem)
- Inheritance
-
MultiSelectList
- Derived
- Implements
Constructors
MultiSelectList(IEnumerable, IEnumerable, IEnumerable) |
Initializes a new instance of the MultiSelectList class by using the items to include in the list, the selected values, the disabled values. |
MultiSelectList(IEnumerable, IEnumerable) |
Initializes a new instance of the MultiSelectList class by using the specified items to include in the list and the selected values. |
MultiSelectList(IEnumerable, String, String, IEnumerable, IEnumerable) |
Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, the selected values, and the disabled values. |
MultiSelectList(IEnumerable, String, String, IEnumerable) |
Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, and the selected values. |
MultiSelectList(IEnumerable, String, String, String, IEnumerable, IEnumerable, IEnumerable) |
Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, the data group field, the selected values, the disabled values, and the disabled groups. |
MultiSelectList(IEnumerable, String, String, String, IEnumerable, IEnumerable) |
Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, the data group field, the selected values, and the disabled values. |
MultiSelectList(IEnumerable, String, String, String, IEnumerable) |
Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, the data group field, and the selected values. |
MultiSelectList(IEnumerable, String, String, String) |
Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, and the data group field. |
MultiSelectList(IEnumerable, String, String) |
Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, and the data text field. |
MultiSelectList(IEnumerable) |
Initializes a new instance of the MultiSelectList class by using the specified items to include in the list. |
Properties
DataGroupField |
Gets the data group field. |
DataTextField |
Gets or sets the data text field. |
DataValueField |
Gets or sets the data value field. |
DisabledGroups |
Gets the disabled groups. |
DisabledValues |
Gets the disabled values. |
Items |
Gets or sets the items in the list. |
SelectedValues |
Gets or sets the selected values. |
Methods
GetEnumerator() |
Returns an enumerator that can be used to iterate through the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator can be used to iterate through a collection. |