Class
RadOpenFolderDialog

Represents a folder browser dialog component that allows users to select one or more folders from the file system. This dialog provides advanced folder navigation capabilities with multi-selection support and configurable editing options for folder operations.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadOpenFolderDialog : FileDialogComponentBase, IComponent, IDisposable, IMultiSelectable, IMultiFilesSelectable

Inheritance: objectMarshalByRefObjectComponentFileDialogComponentBaseRadOpenFolderDialog

Implements: IComponentIDisposableIMultiFilesSelectableIMultiSelectable

Inherited Members FileDialogComponentBase.ShowDialog()FileDialogComponentBase.ShowDialog(IWin32Window)FileDialogComponentBase.OpenFileInternal(FileMode, FileAccess)FileDialogComponentBase.DialogFormFileDialogComponentBase.FileNameFileDialogComponentBase.ShowNetworkLocationsFileDialogComponentBase.InitialDirectoryFileDialogComponentBase.RestoreDirectoryFileDialogComponentBase.CustomPlacesFileDialogComponentBase.ExpandToCurrentDirectoryFileDialogComponentBase.ShowHiddenFilesFileDialogComponentBase.InitialSelectedLayoutFileDialogComponentBase.DirectoryRequestingFileDialogComponentBase.DirectoryNavigatingFileDialogComponentBase.ShellContextMenuOpeningFileDialogComponentBase.ExceptionRaisedComponent.Dispose()Component.Dispose(bool)Component.GetService(Type)Component.ToString()Component.CanRaiseEventsComponent.EventsComponent.SiteComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

RadOpenFolderDialog()

Initializes a new instance of the RadOpenFolderDialog class with default settings and creates the underlying folder dialog form for user interaction.

Declaration

cs-api-definition
public RadOpenFolderDialog()

Properties

EditingOptions

Gets or sets the editing options that determine how files and folders in the ExplorerControl can be modified, including operations like rename, delete, and create. Note that shell context menu and drag-and-drop operations are handled separately.

Declaration

cs-api-definition
public EditingOptions EditingOptions { get; set; }

Property Value

EditingOptions

FileNames

Gets a collection of full file paths for all currently selected files and folders in the dialog, providing complete path information for the selected items.

Declaration

cs-api-definition
public IEnumerable<string> FileNames { get; }

Property Value

IEnumerable<string>

Implements IMultiFilesSelectable.FileNames

MultiSelect

Gets or sets a value indicating whether multiple folders can be selected simultaneously in the dialog. When enabled, users can select multiple folders using standard multi-selection techniques.

Declaration

cs-api-definition
public bool MultiSelect { get; set; }

Property Value

bool

Implements IMultiSelectable.MultiSelect

OpenFolderDialogForm

Gets the underlying RadOpenFolderDialogForm that provides the visual interface and functionality for the folder selection dialog.

Declaration

cs-api-definition
public RadOpenFolderDialogForm OpenFolderDialogForm { get; }

Property Value

RadOpenFolderDialogForm

OpenFolderDialogViewModel

Gets the view model that manages the data and business logic for the open folder dialog, providing access to the underlying folder selection and navigation functionality.

Declaration

cs-api-definition
public OpenFolderDialogViewModel OpenFolderDialogViewModel { get; }

Property Value

OpenFolderDialogViewModel

SafeFileNames

Gets a collection of file names without path information for all currently selected files and folders in the dialog, providing only the name portion of the selected items.

Declaration

cs-api-definition
public IEnumerable<string> SafeFileNames { get; }

Property Value

IEnumerable<string>

Implements IMultiFilesSelectable.SafeFileNames

Methods

CreateFileDialogForm()

Creates and returns a new instance of the file dialog form that provides the visual interface for folder selection operations.

Declaration

cs-api-definition
protected override FileDialogFormBase CreateFileDialogForm()

Returns

FileDialogFormBase

A new RadOpenFolderDialogForm instance configured for folder selection.

Overrides FileDialogComponentBase.CreateFileDialogForm()