ClassRadOpenFolderDialog
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:
public class RadOpenFolderDialog : FileDialogComponentBase, IComponent, IDisposable, IMultiSelectable, IMultiFilesSelectable
Inheritance: objectMarshalByRefObjectComponentFileDialogComponentBaseRadOpenFolderDialog
Implements:
Inherited Members
Constructors
RadOpenFolderDialog()
Initializes a new instance of the RadOpenFolderDialog class with default settings and creates the underlying folder dialog form for user interaction.
Declaration
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
public EditingOptions EditingOptions { get; set; }
Property Value
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
public IEnumerable<string> FileNames { get; }
Property Value
IEnumerable<string>
Implements
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.
OpenFolderDialogForm
Gets the underlying RadOpenFolderDialogForm that provides the visual interface and functionality for the folder selection dialog.
Declaration
public RadOpenFolderDialogForm OpenFolderDialogForm { get; }
Property Value
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
public OpenFolderDialogViewModel OpenFolderDialogViewModel { get; }
Property Value
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
public IEnumerable<string> SafeFileNames { get; }
Property Value
IEnumerable<string>
Implements
Methods
CreateFileDialogForm()
Creates and returns a new instance of the file dialog form that provides the visual interface for folder selection operations.
Declaration
protected override FileDialogFormBase CreateFileDialogForm()
Returns
A new RadOpenFolderDialogForm instance configured for folder selection.
Overrides