Quantcast
Channel: Telerik Blogs
Viewing all articles
Browse latest Browse all 5210

RadFileDialogs, RadWindow & More Improvements in UI for WPF

$
0
0

New features for RadFileDialogs, RadWindow and more - check what's new in Telerik UI for WPF and Telerik UI for Silverlight with the recent R3 2017 Service Pack.

FileDialogs (beta) Get Filtering

We are introducing filtering support for RadOpenFileDialog and RadSaveFileDialog. They will support the same filter API as MS file dialogs, so if you need consistent and appealing UI and you are planing to migrate from MS file dialogs - this will definitely smooth the transition process. In other words, you can now set the Filter and FilterIndex properties as shown below in order to initially show all files:

var dialog = newRadOpenFileDialog();
dialog.Filter =
"Word Documents (*.doc)|*.doc|"+
"Excel Worksheets (*.xls;*.xlsx)|*.xls;*.xlsx|"+
"PowerPoint Presentations (*.ppt)|*.ppt|"+
"Office Files (*.doc;*.xls;*.ppt)|*.doc;*.xls;*.ppt|"+
"All Files (*.*)|*.*";
dialog.FilterIndex = 5;
dialog.ShowDialog();

See RadOpenFileDialog filterin action:

OpenFileDialog - Filter

For RadSaveFileDialog the code is the same, however the dialog would have a slightly different appearance and behavior (the file extension will change when a dialog is being filtered):

SaveFileDialogFilter

For more details about this feature please check the Filtering help article from our online documentation here.

Window Active/Inactive Visual State

RadWindow will now change visually when inactivated. Before today RadWindow looked the same, no matter if active or inactive. The feature is turned on by default and affects modal and non-modal windows. If you have a modal window and its owner is clicked you will receive the following blinking effect:  

RadWindow - Flickering

If you prefer the previous visual appearance (to appear always active), you can simply set the ShouldUpdateActiveState property of RadWindow to False.

Other Features

  • Helper class for RadComboBox that allows showing the attached ToolTip only when its text is trimmed. For more, check out this How-To article.
  • RadGridView gets new option for coping to clipboard (SkipEmptyColumns).

Improvements

As always we are packing the UI for WPF Service Pack with many other improvements for the most used controls. I will only say the most fixes are for RadGridView, RadVirtualGrid and RadRichTextBox. For full list of updates and improvements, check the release notes for this release here.

Share Your Feedback

We would love to hear from you, so please drop a comment below sharing your thoughts about Telerik UI for WPF. You could also visit our Feedback portals about UI for WPF/Silverlight and Document Processing Libraries and let us know if you have any suggestions or if you need any particular features/controls.

Make sure to try the latest:

UI for WPFUI for Silverlight

If you missed our last official release (R3 2017), you can find some of major updates here.


Viewing all articles
Browse latest Browse all 5210

Trending Articles