Class FileBrowserPicker
Visual control used to select a file path with open/save dialogs and validation.
public class FileBrowserPicker : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IComponentConnector
- Inheritance
-
FileBrowserPicker
- Implements
- Inherited Members
- Extension Methods
Constructors
FileBrowserPicker()
Initializes a new instance of the FileBrowserPicker.
public FileBrowserPicker()
Fields
DefaultExtProperty
System.Windows.DependencyProperty for DefaultExt.
public static readonly DependencyProperty DefaultExtProperty
Field Value
- DependencyProperty
FileProperty
System.Windows.DependencyProperty for File.
public static readonly DependencyProperty FileProperty
Field Value
- DependencyProperty
FilterProperty
System.Windows.DependencyProperty for Filter.
public static readonly DependencyProperty FilterProperty
Field Value
- DependencyProperty
IsSavingProperty
System.Windows.DependencyProperty for IsSaving.
public static readonly DependencyProperty IsSavingProperty
Field Value
- DependencyProperty
Properties
DefaultExt
Gets or sets the default file extension used by the dialog.
public string DefaultExt { get; set; }
Property Value
File
Gets or sets the selected file path.
public string File { get; set; }
Property Value
Filter
Gets or sets the file types filter string.
public string Filter { get; set; }
Property Value
IsSaving
Gets or sets a value indicating whether the dialog is used to save files (true) or open files (false).
public bool IsSaving { get; set; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()
Events
FileChanged
Raised when File property changes.
public event Action<string> FileChanged