System.Windows.Forms.ListBox.RefreshItem Method

Refreshes the item contained at the specified index.

Syntax

protected override void RefreshItem (int index)

Parameters

index
The zero-based index of the element to refresh.

Remarks

If the ListControl.DisplayMember property is set and the property in the data source that is assigned to ListControl.DisplayMember changes, use the ListBox.RefreshItem(int) method to update the value in the System.Windows.Forms.ListBox control.

Requirements

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