Represents a dialog that allows user selection of folders.
Definition
Namespace:Telerik.WinControls.FileDialogs
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadOpenFolderDialogForm : FileDialogFormBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider, ISupportRootUIAutomation, IInvokeSelectedFileSystemObjects, IMultiSelectable, IMultiFilesSelectable
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormFileDialogFormBaseRadOpenFolderDialogForm...
Implements:
Inherited Members
Constructors
Initializes the folder-selection UI, localizes its labels, and registers the explorer as a view-model listener.
public RadOpenFolderDialogForm()
Properties
Gets the ExplorerControl used to browse and select folders.
public override ExplorerControl ExplorerControl { get; }
Overrides:
Gets or sets a string containing the selected file names, including their paths.
public IEnumerable<string> FileNames { get; protected set; }
Implements:
Gets or sets a value indicating whether multiple selection of files or folders is allowed.
public bool MultiSelect { get; set; }
Implements:
Gets the typed view model for folder selection, or null before the dialog content is initialized.
public OpenFolderDialogViewModel OpenFolderDialogViewModel { get; }
SafeFileNames
IEnumerable<string>
Gets or sets a string containing the selected file names, excluding their paths.
public IEnumerable<string> SafeFileNames { get; protected set; }
Implements:
Methods
Clears the search text and suppresses dialog cancellation when the search box has focus; otherwise uses the base behavior.
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Accepts selected folders or resolves an entered folder path; if no selection or path resolves, it falls back to the current directory when the view model permits the Open action.
public override void InvokeSelectedFileSystemObjects()
Overrides:
Sets the dialog title and folder-selection labels from the active FileDialogs localization provider.
protected virtual void LocalizeStrings()