Alvas.FileControls Class Library

FileListBox Class

FileListBox is a specialized list box that lists all the files in a specified directory.

For a list of all members of this type, see FileListBox Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ListControl
               System.Windows.Forms.ListBox
                  Alvas.Windows.Forms.FileControls.FileListBox

[Visual Basic]
Public Class FileListBox
    Inherits ListBox
[C#]
public class FileListBox : ListBox

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Example

This sample shows how to use FileListBox.

private void button1_Click(object sender, System.EventArgs e)
{
    fileListBox1.FileEdit = textBox1;
    filterComboBox1.FileList = fileListBox1;
    folderListBox1.FileList = fileListBox1;
    driveComboBox1.FolderList = folderListBox1;
}
 

Requirements

Namespace: Alvas.Windows.Forms.FileControls

Assembly: Alvas.Windows.Forms.FileControls (in Alvas.Windows.Forms.FileControls.dll)

See Also

FileListBox Members | Alvas.Windows.Forms.FileControls Namespace