Reader Level:
ARTICLE

Editable ListBox in C#

Posted by Gautam Shrestha Articles | Windows Controls C# June 09, 2005
The attached sample code demonstrates how you can create an editable ListBox control, which will let you edit ListBox items at runtime.
  • 1
  • 0
  • 75193
Download Files:
 

Suppose you need to edit an item in a list box (it is read-only list of item) at a runtime. This sample code demonstrate a simple approach to create an editable listbox.

ListBox.gif

To edit an item in a list box, all you need is one hidden text box. Keep textbox hidden of set property visible as false and show it whenever you required.

COMMENT USING

Trending up