Skip to main content
Version: 4.1

ListViewComboBox

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

The TreeViewComboBox control represents a UserComboBox control with a ListView as the drop down panel.

public class ListViewComboBox : UserComboBox

Constructors

Instance member ListViewComboBox()

Initializes a new ListViewComboBox control.

Properties

Instance member Columns

ColumnHeaderCollection: Returns the collection of all column headers that appear in the control.

Instance member DataMember

String: Returns or sets the name of the list or table in the data source for which the ListView is displaying data. (Default: "")

Instance member DataSource

Object: Returns or sets the data source for this ListView. (Default: null)

Throws:

Instance member DisplayMember

String: Returns or sets the property to display in the Items. (Default: "")

Instance member IconMember

String: Returns or sets the property to use as the icon for the Items. (Default: "")

Instance member ItemHeight

Int32: If set, specifies a universal height for all ListView items. (Default: -1)

Instance member Items

ListViewItemCollection: Returns a collection containing all items in the control.

Instance member LargeImageList

ImageList: Returns or sets the ImageList to use to display the main icon in the ListViewItem elements. (Default: null)

Instance member ListView

ListView: Returns the ListView control associated with this ListViewComboBox.

Instance member SelectedIndex

Int32: Returns or sets the index of the currently selected item. (Default: -1)

Throws:

  • ArgumentOutOfRangeException The specified index is less than -1; o the specified index is greater than the number of items in the combo box.

Instance member SelectedItem

ListViewItem: Returns or sets the selected ListViewItem in the drop down ListView control. (Default: null)

Instance member SelectedValue

Object: Returns or sets the selected value in the DataSource corresponding to the current item. It is always null when the control is not data bound.

This property returns the DataBoundItem for the currently SelectedItem and sets the current position in the DataSource to the index of the value found un the DataSource.

Instance member SmallImageList

ImageList: Returns or sets the ImageList to use to display the main icon in the ListViewItem elements. (Default: null)

Instance member Text

String: Returns or sets the text associated with this control. (Default: "")

Instance member View

View: Returns or sets how items are displayed in the control. (Default: Details)

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
ILabelProvides access to the LabelWrapper associated with the controls that implement this interface.
IReadOnlyProvides access to the ReadOnly property for coontrols that support the read-only mode.
IModifiedProvides access to the Modified property and ModifiedChanged event for controls that implement this interface.
IValidationProvides access to the validation events and properties property for controls that support validation.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.