Table of Contents

Class FolderBrowserDialog

Namespace
Bonsai.Design
Assembly
Bonsai.Design.dll

Specifies a folder browser dialog box.

public class FolderBrowserDialog : CommonDialog, IComponent, IDisposable
Inheritance
FolderBrowserDialog
Implements
Inherited Members

Constructors

FolderBrowserDialog()

Initializes a new instance of the FolderBrowserDialog class.

public FolderBrowserDialog()

Properties

SelectedPath

Gets or sets the path to the selected folder.

public string SelectedPath { get; set; }

Property Value

string

Methods

Reset()

Resets the properties of the folder browser dialog to their default values.

public override void Reset()

RunDialog(IntPtr)

Displays a folder browser dialog.

protected override bool RunDialog(IntPtr hwndOwner)

Parameters

hwndOwner IntPtr

A value that represents the window handle of the owner window for the common dialog box.

Returns

bool

true if the dialog box was successfully run; otherwise, false.