uffivestar.blogg.se

Devexpress listbox
Devexpress listbox










Scrolls the editor’s item list, so that the specified item becomes visible. Returns an array of the list editor’s selected items values.Īdds a new item to the control’s items collection at the specified index. Returns an array of the list editor’s selected items. Returns an array of the list editor’s selected items indices. Gets the number of items contained in the editor’s item collection. Returns an item specified by its index within the list box editor’s item collection. Removes all items from the client list box editor. Re-enables editor render operations after a call to the ASPxClientListBox.BeginUpdate method, and forces an immediate re-rendering. Prevents the client list box editor from being rendered until the ASPxClientListBox.EndUpdate method is called. MethodĪdds a new item to the editor, specifying the item’s display text, associated value and displayed image, and returns the index of the added item. You can modify the editor behavior using the following methods. The MVCxClientListBox object serves as a client-side equivalent of the ListBox extension. This API is implemented using JavaScript and is exposed via the MVCxClientListBox object. The ListBox provides you with a comprehensive client-side API. See the Built-in Validation topic to learn more. The ListBox extension allows you to perform data validation both on the client and server side. This functionality is in effect if the editor’s items collection is obtained from a data source. The list box editor allows its list data to be represented in several columns. End-users can apply multi-selection by clicking list items (the Shift key can also be used in this mode to select a range of items).

devexpress listbox

Multiple items can be selected within the editor. End-users can apply multi-selection by clicking list items while pressing Ctrl (to add an individual item) or Shift (to select a range of items).

devexpress listbox

Only one item can be selected within the editor.

devexpress listbox

The following selection modes are available within the ListBox editor. SelectionMode ( ListBoxProperties.SelectionMode) property. This functionality is controlled by the ListBoxSettings.Properties. The ListBox editor allows multiple list items to be selected at the same time.

devexpress listbox

The code result is demonstrated in the image below. The Partial View should contain only the extension’s code.












Devexpress listbox