System.Windows.Forms.ListControl Class

Provides a common implementation of members for the System.Windows.Forms.ListBox and System.Windows.Forms.ComboBox classes.

See Also: ListControl Members

Syntax

[System.ComponentModel.LookupBindingProperties("DataSource", "DisplayMember", "ValueMember", "SelectedValue")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
public abstract class ListControl : Control

Remarks

The System.Windows.Forms.ListControl class provides implementations of common elements for the System.Windows.Forms.ListBox and System.Windows.Forms.ComboBox controls.

The following properties are of primary concern to users of a data-bound System.Windows.Forms.ListBox or System.Windows.Forms.ComboBox: ListControl.DataSource, ListControl.DisplayMember, ListControl.SelectedValue, and ListControl.ValueMember properties.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0