FilePathTextBox Class
Control to implement the selection of a file or folder for a TextBox.
1. Add a namespace attribute to the root element of the markup file it is to be used in:
xmlns:cc="clr-namespace:Common.Wpf.Controls;assembly=Common.Wpf.Controls"
2. Define the control specifying the type of dialog. The default is File:
<cc:FilePathTextBox DialogType="Folder"... />
DialogType | Gets or sets the dialog type that will be shown to the user.
The default is File. |
IsErrorShown | Gets or sets whether error messages are shown to the user below the control.
The default is . |
RelativePath | Gets or sets a relative path to a file. |