Class RadOpenFileDialogForm
Represents a dialog that allows user selection of filename for a file to be opened.
Inherited Members
Namespace: Telerik.WinControls.FileDialogs
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadOpenFileDialogForm : FileDialogFormBase, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider, IInvokeSelectedFileSystemObjects, IMultiSelectable, IMultiFilesSelectable, IFileExtensionFilterable
Constructors
RadOpenFileDialogForm()
Declaration
public RadOpenFileDialogForm()
Properties
DefaultExt
Gets or sets a value that specifies the default extension string to use to filter the list of files that are displayed.
Declaration
public string DefaultExt { get; set; }
Property Value
System.String
|
Implements
DereferenceLinks
Gets or sets a value indicating whether a file dialog returns either the location of the file referenced by a shortcut or the location of the shortcut file.
Declaration
public bool DereferenceLinks { get; set; }
Property Value
System.Boolean
|
ExplorerControl
Declaration
public override ExplorerControl ExplorerControl { get; }
Property Value
ExplorerControl
|
Overrides
FileNames
Gets or sets a string containing the selected file names, including their paths.
Declaration
public IEnumerable<string> FileNames { get; protected set; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
|
Implements
Filter
Gets or sets the filter string that describes the list of extensions to filter by.
Declaration
public string Filter { get; set; }
Property Value
System.String
|
Implements
FilterIndex
Gets or sets the currently selected extension filter from the extensions described in the Filter property. The index value of the first filter entry is 1.
Declaration
public int FilterIndex { get; set; }
Property Value
System.Int32
|
Implements
MultiSelect
Gets or sets a value indicating whether multiple selection of files or folders is allowed.
Declaration
public bool MultiSelect { get; set; }
Property Value
System.Boolean
|
Implements
OpenFileDialogViewModel
Declaration
public OpenFileDialogViewModel OpenFileDialogViewModel { get; }
Property Value
OpenFileDialogViewModel
|
ReadOnlyChecked
Gets or sets a value indicating whether the read-only check box is selected.
Declaration
public bool ReadOnlyChecked { get; set; }
Property Value
System.Boolean
|
SafeFileNames
Gets or sets a string containing the selected file names, excluding their paths.
Declaration
public IEnumerable<string> SafeFileNames { get; protected set; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
|
Implements
ShowReadOnly
Gets or sets a value indicating whether the dialog contains a read-only check box.
Declaration
public bool ShowReadOnly { get; set; }
Property Value
System.Boolean
|
Methods
CanPressedCancelExecute()
Declaration
protected override bool CanPressedCancelExecute()
Returns
System.Boolean
|
Overrides
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
Overrides
GetViewModel()
Gets the OpenFileDialogViewModel that will be used as DataContext for this FileDialogFormBase.
Declaration
protected virtual OpenFileDialogViewModel GetViewModel()
Returns
OpenFileDialogViewModel
|
InvokeSelectedFileSystemObjects()
Declaration
public override void InvokeSelectedFileSystemObjects()
Overrides
LocalizeStrings()
Declaration
protected virtual void LocalizeStrings()
SetupDialogContent(Boolean)
Declaration
protected override void SetupDialogContent(bool addWatcher = true)
Parameters
System.Boolean
addWatcher
|
Overrides
Explicit Interface Implementations
IMultiSelectable.SelectedFileSystemInfoWrappers
Declaration
ObservableCollection<FileSystemInfoWrapper> IMultiSelectable.SelectedFileSystemInfoWrappers { get; }
Returns
System.Collections.ObjectModel.ObservableCollection<FileSystemInfoWrapper>
|