System.Windows.Forms.ListControl Members

The members of System.Windows.Forms.ListControl are listed below.

See Also: Inherited members from System.Windows.Forms.Control

Protected Constructors

Initializes a new instance of the System.Windows.Forms.ListControl class.

Public Properties

DataSourceobject.

Gets or sets the data source for this System.Windows.Forms.ListControl.

DisplayMemberstring.

Gets or sets the property to display for this System.Windows.Forms.ListControl.

FormatInfoIFormatProvider.

Gets or sets the IFormatProvider that provides custom formatting behavior.

FormatStringstring.

Gets or sets the format-specifier characters that indicate how a value is to be displayed.

FormattingEnabledbool.

Gets or sets a value indicating whether formatting is applied to the ListControl.DisplayMember property of the System.Windows.Forms.ListControl.

abstract
SelectedIndexint.

When overridden in a derived class, gets or sets the zero-based index of the currently selected item.

SelectedValueobject.

Gets or sets the value of the member property specified by the ListControl.ValueMember property.

ValueMemberstring.

Gets or sets the path of the property to use as the actual value for the items in the System.Windows.Forms.ListControl.

Protected Properties

[read-only]
AllowSelectionbool.

Gets a value indicating whether the list enables selection of list items.

[read-only]
DataManagerCurrencyManager.

Gets the System.Windows.Forms.CurrencyManager associated with this control.

Public Methods

GetItemText(object) : string

Returns the text representation of the specified item.

Protected Methods

FilterItemOnProperty(object) : object

Retrieves the current value of the System.Windows.Forms.ListControl item, if it is a property of an object, given the item.

FilterItemOnProperty(object, string) : object

Returns the current value of the System.Windows.Forms.ListControl item, if it is a property of an object given the item and the property name.

override
IsInputKey(Keys) : bool

Handles special input keys, such as PAGE UP, PAGE DOWN, HOME, END, and so on.

override
OnBindingContextChanged(EventArgs)
Documentation for this section has not yet been entered.
OnDataSourceChanged(EventArgs)

Raises the ListControl.DataSourceChanged event.

OnDisplayMemberChanged(EventArgs)

Raises the ListControl.DisplayMemberChanged event.

OnFormat(ListControlConvertEventArgs)

Raises the ListControl.Format event.

OnFormatInfoChanged(EventArgs)

Raises the ListControl.FormatInfoChanged event.

OnFormatStringChanged(EventArgs)

Raises the ListControl.FormatStringChanged event.

OnFormattingEnabledChanged(EventArgs)

Raises the ListControl.FormattingEnabledChanged event.

OnSelectedIndexChanged(EventArgs)

Raises the ListControl.SelectedValueChanged event.

OnSelectedValueChanged(EventArgs)

Raises the ListControl.SelectedValueChanged event.

OnValueMemberChanged(EventArgs)

Raises the ListControl.ValueMemberChanged event.

abstract
RefreshItem(int)

When overridden in a derived class, resynchronizes the data of the object at the specified index with the contents of the data source.

RefreshItems()

When overridden in a derived class, resynchronizes the item data with the contents of the data source.

SetItemCore(int, object)

When overridden in a derived class, sets the object with the specified index in the derived class.

abstract
SetItemsCore(IList)

When overridden in a derived class, sets the specified array of objects in a collection in the derived class.

Public Events

DataSourceChanged

Occurs when the ListControl.DataSource changes.

DisplayMemberChanged

Occurs when the ListControl.DisplayMember property changes.

Format

Occurs when the control is bound to a data value.

FormatInfoChanged

Occurs when the value of the ListControl.FormatInfo property changes.

FormatStringChanged

Occurs when value of the ListControl.FormatString property changes

FormattingEnabledChanged

Occurs when the value of the ListControl.FormattingEnabled property changes.

SelectedValueChanged

Occurs when the ListControl.SelectedValue property changes.

ValueMemberChanged

Occurs when the ListControl.ValueMember property changes.