This control is a .NET version of the extended
ListBox editor that originally showed up in Visual Studio. The control offers an extensible interface for specifying ordered entries of data items in string format. The control uses a button at the end of each line in the list, to allow the user a custom interface for specifying the text for that entry.
In addition to the GUI, the control offers full keyboard support for specifying entries in the list.
|INSERT||Creates a new item at the end of the list|
|DELETE||Deletes the currently selected item|
|CTRL+UP ARROW||Moves the selected item up in the list|
|CTRL+DOWN ARROW||Moves the selected item down in the list|
|ENTER||Calls to the |
IBrowser interface to allow the user to specify a value
The namespace defines an interface
IBrowser that allows a programmer to extensibly specify how to obtain the value for the selected entry. With this interface, a programmer could specify any type of interface for configuration data. As long as the data can be represented as a string, the configuration data can be ordered by this control.
public interface IBrowser
The control comes with a simple
IBrowser implementation called
OpenFileBrowser. This implementation simply creates the
OpenFileDialog object and allows the user to specify a particular file. The genesis for the control was to have a base control to use, for specifying lists of IP Address specifications/ranges.