FilePickerFieldDefinition
This field definition creates a
TextBox control with an associated ellipsis {Button}. Clicking the button displays an Open File dialog and the
TextBox is populated with the chosen filename.
By default
FilePickerFieldDefinition will not be used. The easiest way to employ it is to register any String properties whose name ends with "Filename" to use file pickers:
FieldDefinitionRegistry.Register<String, FilePickerFieldDefinition>("*Filename");
Properties
public String Filter { get; set; } Holds the file string to be applied to the OpenFile dialog when it is shown. Lets you customize the filetypes that the user can choose.
Controls Created:
- ContentControl (ContainerControl)
- Grid
- TextBox (InputControl)
- Button