Click or drag to resize

VistaFolderBrowserDialog Class

Prompts the user to select a folder.
Inheritance Hierarchy
SystemObject
  Ookii.Dialogs.WpfVistaFolderBrowserDialog

Namespace:  Ookii.Dialogs.Wpf
Assembly:  Ookii.Dialogs.Wpf (in Ookii.Dialogs.Wpf.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class VistaFolderBrowserDialog

The VistaFolderBrowserDialog type exposes the following members.

Constructors
  NameDescription
Public methodVistaFolderBrowserDialog
Creates a new instance of the VistaFolderBrowserDialog class.
Top
Properties
  NameDescription
Public propertyDescription
Gets or sets the descriptive text displayed above the tree view control in the dialog box, or below the list view control in the Vista style dialog.
Public propertyStatic memberIsVistaFolderDialogSupported
Gets a value that indicates whether the current OS supports Vista-style common file dialogs.
Public propertyRootFolder
Gets or sets the root folder where the browsing starts from. This property has no effect if the Vista style dialog is used.
Public propertySelectedPath
Gets or sets the path selected by the user.
Public propertyShowNewFolderButton
Gets or sets a value indicating whether the New Folder button appears in the folder browser dialog box. This property has no effect if the Vista style dialog is used; in that case, the New Folder button is always shown.
Public propertyUseDescriptionForTitle
Gets or sets a value that indicates whether to use the value of the Description property as the dialog title for Vista style dialogs. This property has no effect on old style dialogs.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReset
Resets all properties to their default values.
Public methodShowDialog
Displays the folder browser dialog.
Public methodShowDialog(Window)
Displays the folder browser dialog.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This class will use the Vista style Select Folder dialog if possible, or the regular FolderBrowserDialog if it is not. Note that the Vista style dialog is very different, so using this class without testing in both Vista and older Windows versions is not recommended.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also