Alvas.FileControls Class Library

FolderListBox Class

FolderListBox is a specialized list box that represents folders tree.

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

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

[Visual Basic]
Public Class FolderListBox
    Inherits ListBox
[C#]
public class FolderListBox : 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 FolderListBox.

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

FolderListBox Members | Alvas.Windows.Forms.FileControls Namespace