In the R1'18 Release of Telerik UI for WPF, we've got a lot of powerful new features and upgrades coming to the File Dialogs.
With the new version of Telerik UI for WPF you will find a lot of great components which will empower you to build modern desktop apps, including various new functionalities to the File Dialogs and a new Fluent Design Theme. Let's dive into the major upgrades and additions to the File Dialogs.
In their first release, Dialogs provided a modern UI and ability to chose files/folders via an API which is as close as possible to the one in MS Win32 Dialogs. The File Dialogs in Telerik UI for WPF are now more powerful and provide the option to create new folders, rename files and folders, and use the well-known windows context menu to invoke actions on the selected items.
We also listened to your feedback and added the ability to filter the available Drive/Directory structure in the navigation tree and breadcrumb. We’ve improved the keyboard support, providing directional navigation with arrow keys on selected and focused files/folders. You will also find that changes in the file system are immediately reflected in the dialogs which is done behind the scenes via a background file system watcher mechanism.
Let’s have a look at all of these features.
private
void
OpenDialog_DirectoryRequesting(
object
sender, DirectoryRequestingEventArgs e)
{
if
(e.Directory.Name.StartsWith(
"C:\\"
) ||
e.Directory.Name.StartsWith(
"K:\\"
) ||
e.Directory.Name.StartsWith(
"R:\\"
))
{
e.Cancel =
true
;
}
}
The result is that the “C:\\”, “K:\\” and “R:\\” drives are not loaded the left navigation tree:
I know what your BIG question is: What is this awesome new theme you saw in the gifs above? Of course, this is our brand new FLUENT theme which comes in two variations—light and dark. There will be another blog post talking more about that, so please stay tuned.
Make sure to try the latest version of our UI for WPF suite, and explore all the new features that came with the Telerik R1 2018 Release.
In order to make the File Dialogs the best they can be for their official release in May (R2’18), we would love to hear what you think, so don't be shy and please drop us a comment below to share your thoughts. You can also visit our Feedback portal for UI for WPF and let us know if you have any suggestions or if there are any particular features/controls you would like to see.
For an in-depth review of all the new stuff coming with the release across desktop, web and mobile, you can watch the full recording of the Telerik R1 2018 Release Webinar below.
Petar Mladenov is a XAML specialist on the Telerik WPF & Silverlight team located in Sofia, Bulgaria. During weekdays he creates a cool desktop UI components like dialogs, diagrams and charts. On weekends you will find him with a fishing rod in hand, skiing or just exploring some cool places.