ListViewComboBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
The TreeViewComboBox control represents a UserComboBox control with a ListView as the drop down panel.
- C#
- VB.NET
public class ListViewComboBox : UserComboBox
Public Class ListViewComboBox
Inherits UserComboBox
Constructors
ListViewComboBox()
Initializes a new ListViewComboBox control.
Properties
Columns
ColumnHeaderCollection: Returns the collection of all column headers that appear in the control.
DataMember
String: Returns or sets the name of the list or table in the data source for which the ListView is displaying data. (Default: "")
DataSource
Object: Returns or sets the data source for this ListView. (Default: null)
Throws:
- ArgumentException The assigned value does not implement the IList or IListSource interfaces.
DisplayMember
String: Returns or sets the property to display in the Items. (Default: "")
IconMember
String: Returns or sets the property to use as the icon for the Items. (Default: "")
ItemHeight
Int32: If set, specifies a universal height for all ListView items. (Default: -1)
Items
ListViewItemCollection: Returns a collection containing all items in the control.
LargeImageList
ImageList: Returns or sets the ImageList to use to display the main icon in the ListViewItem elements. (Default: null)
ListView
ListView: Returns the ListView control associated with this ListViewComboBox.
SelectedIndex
Int32: Returns or sets the index of the currently selected item.
Throws:
- ArgumentOutOfRangeException The specified index is less than -1; o the specified index is greater than the number of items in the combo box.
SelectedItem
ListViewItem: Returns or sets the selected item in the drop down ListView control.
SmallImageList
ImageList: Returns or sets the ImageList to use to display the main icon in the ListViewItem elements. (Default: null)
Text
String: Returns or sets the text associated with this control. (Default: "")
View
View: Returns or sets how items are displayed in the control. (Default: Details)
Implements
| Name | Description |
|---|---|
| IBindableComponent | Bindable components implement this interface. |
| IDropTarget | Controls that support drag & drop operations implement this interface. |
| ILabel | Provides access to the LabelWrapper associated with the controls that implement this interface. |
| IReadOnly | Provides access to the ReadOnly property for coontrols that support the read-only mode. |
| IModified | Provides access to the Modified property and ModifiedChanged event for controls that implement this interface. |
| IValidation | Provides access to the validation events and properties property for controls that support validation. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejControl | All wisej controls derived from the Control class must implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |