We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use the FolderBrowser control?

The FolderBrowser component provides a convenient and easy to use object-oriented wrapper for the Win32 Shell Folder Browser API that helps in accessing the system folders. The following properties are used to set the location of the FolderBrowser control.

Table 1: FolderBrowser Properties

FolderBrowser Properties

Description

StartLocation

Specifies the location of the root folder from where the browsing is to be started.

CustomStartLocation

Gets or sets the custom start location to show the dialog.

SelectLocation

Gets or sets the selected location to show the dialog.

DirectoryPath

Retrieves the location of the selected folder.

You can set the desired location of the FolderBrowser Dialog points. The StartLocation property provides various options to specify the location of the root folder from where the browsing is to be started. The custom start location of the FolderBrowser can be set by using the property, CustomStartLocation.

The following code example demonstrates the same.

C#

VB

The screenshot displays the Folder Browser:

Figure 1: Folder browser dialog box

Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/136531/FolderBrowser-488198065.zip

 

Article ID: Published Date: Last Revised Date: Platform: Control:
4328 04/06/2015 04/06/2015 WinForms FolderBrowser
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon