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
public static readonly DependencyProperty DefaultExtProperty
Field Value
FileProperty
DependencyProperty for File.
public static readonly DependencyProperty FileProperty
Field Value
FilterProperty
DependencyProperty for Filter.
public static readonly DependencyProperty FilterProperty
Field Value
IsSavingProperty
public static readonly DependencyProperty IsSavingProperty
Field Value
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