Table of Contents

Class FileBrowserPicker

Namespace
Ecng.Xaml
Assembly
StockSharp.Xaml.dll

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

DependencyProperty

FileProperty

public static readonly DependencyProperty FileProperty

Field Value

DependencyProperty

FilterProperty

public static readonly DependencyProperty FilterProperty

Field Value

DependencyProperty

IsSavingProperty

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

string

File

Gets or sets the selected file path.

public string File { get; set; }

Property Value

string

Filter

Gets or sets the file types filter string.

public string Filter { get; set; }

Property Value

string

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

bool

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

Events

FileChanged

Raised when File property changes.

public event Action<string> FileChanged

Event Type

Action<string>