Skip to main content
A newer version of this page is available. .

MVCxListBoxColumn Class

Contains settings that define an individual column within list editors.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.1.dll

Declaration

public class MVCxListBoxColumn :
    ListBoxColumn

Remarks

The MVCxListBoxColumn class implements the functionality of a list column. This functionality is used by list editors such as the ComboBox and ListBox. Columns can be used to visually organize an editor’s list data into a more readable and convenient form. Columns are maintained within a collection of the MVCxListBoxColumnCollection type, which can be accessed using the Columns property available through the list editor’s settings. An individual column can be accessed within the collection using indexer notation.

An editor’s column can be mapped to a data source’s column by using the ListBoxColumn.FieldName property. A column’s visibility and visual order can be controlled via the WebColumnBase.Visible and ListBoxColumn.VisibleIndex properties. Use the WebColumnBase.Caption property to define a column’s caption, and the WebColumnBase.Name property to specify a unique identifier for the column.

See Also