R2 2020 SP of Telerik UI for WPF Brings 50+ Enhancements and New Features

栏目: IT技术 · 发布时间: 3年前

内容简介:The R2 2020 Service Pack ofTelerik UI for WPF andWith this Service Pack,

The R2 2020 Service Pack ofTelerik UI for WPF and Telerik UI for Silverlight is live today! It delivers over 50 improvements and new features for Docking , DesktopAlert , RichTextBox and other controls. Let’s dive in together in what is new with R2 2020 Service Pack.

Docking: Navigator

R2 2020 SP of Telerik UI for WPF Brings 50+ Enhancements and New Features

With this Service Pack, RadDocking  gains functionality that will enable quick navigation between the panes similar to the one seen in IDE navigator of Visual Studio. Using the new  DockingNavigator  control, the user can easily navigate over all non-hidden panes, check their contents in the preview section and automatically activate the selected pane on close.

The DockingNavigator control provides options to customize every part of it as well as exposes a couple of events to enable even more flexibility. You can easily specify how each Pane should be represented by setting the following attached properties:

  • DockingNavigator. Icon : Gets or sets an object that will represent the icon for that pane
  • DockingNavigator. Header : Gets or sets an object that will represent the header for that pane
  • DockingNavigator. Footer : Gets or sets an object that will represent the footer for that pane
  • DockingNavigator. Description : Gets or sets an object that will represent the description for that pane

And when it comes to the Icon—the navigator provides support for displaying Glyph icons out of the box and if you need to use images just use custom DataTemplates.

Let me show you how to quickly set it up—set the attached properties to a Pane:

< telerik:RadDocumentPane Header = "Document Pane 1"

              telerik:DockingNavigator.Icon = "&#xe63b;"

              telerik:DockingNavigator.Description = "My first document pane"

              telerik:DockingNavigator.Footer = "My first document footer" >

    < TextBlock TextWrapping = "Wrap" Text = "Press Ctrl + Tab or Alt + F7 to open the DockingNavigator." />

</ telerik:RadDocumentPane >

And set the Navigator property of RadDocking to a new instance of DockingNavigator as shown below:

< telerik:RadDocking x:Name = "docking" >

   < telerik:RadDocking.Navigator >

     < telerik:DockingNavigator />

   </ telerik:RadDocking.Navigator >

   ...

</ telerik:RadDocking >

That’s it—see it in action in the GIF above. For more details check theNavigator article from the Docking documentation.

DesktopAlert: Play Sound

We are adding option to RadDesktopAlert allowing you to specify the sound that will be played when the alert is shown on the screen. You need to just set the Sound property to one of the built-in framework sounds ( SystemSound ) as shown below:

var alert = new RadDesktopAlert();

alert.Header = "Title" ;

alert.Sound = System.Media.SystemSounds.Beep;

Additionally, a custom sound can be played—just inherit from RadDesktopAlert and override the PlaySound method. For more details check theSound article from our help documentation.

I cannot add a GIF that demonstrates the feature (:grin:), so make sure to check it in ourWPF demo application.

Chat: Suggested Actions Orientation

Until now the suggest actions of RadChat were always displayed horizontally. With the R2 Service Pack, by using the new  SuggestActionsOrientation property, is now possible to quickly change their orientation to vertical. Check out the vertically oriented suggested actions below:

R2 2020 SP of Telerik UI for WPF Brings 50+ Enhancements and New Features

For more info check out theSuggested Actions article from our documentation.

RichTextBox: Style Synchronization and Support for Importing Bullet Lists

  • RadRichTextBox  Styles in the document gallery are now automatically synchronized with the selection. When you click somewhere in the document the style will be highlighted in the gallery and in the styles dialog.

    R2 2020 SP of Telerik UI for WPF Brings 50+ Enhancements and New Features

  • Importing HTML that contains a bullet list with specified type (circle, disc, square) is now supported in  RadRichTextBox . The styles will be correctly imported, and you will be able to see the styles as in the browser:

    R2 2020 SP of Telerik UI for WPF Brings 50+ Enhancements and New Features

SpreadProcessing: TextRotation Support

RadSpreadProcessingnow supports TextRotation. You will be able to import/export the TextRotation with the XLSX format and set it in the code behind. The following example shows how you can set it: 

radSpreadsheet.ActiveWorksheet.Cells[0, 0].SetValue( "Vertical Text" );

radSpreadsheet.ActiveWorksheet.Cells[0, 0].SetTextRotation(90); 

Here is the result:

R2 2020 SP of Telerik UI for WPF Brings 50+ Enhancements and New Features

For more details check theCell Styles articlefrom our help documentation.

.NET Core: Prepopulated VS Toolbox

As you might already know the toolbox for .NET Core works depending on the referenced NuGet packages in the application. With the latest preview (16.7.0 Preview 2) of Visual Studio 2019, Microsoft added an option to enable the population of the toolbox without having any references. We already took advantage of it, so after you install this R2 Service Pack of Telerik UI for WPF and create an empty WPF .NET Core project (using the latest preview of VS) you should be able to see full toolbox as shown below:

R2 2020 SP of Telerik UI for WPF Brings 50+ Enhancements and New Features

Happy coding!

Check Out the Detailed Release Notes

We have a lot more! To get an overview of all the latest features and improvements we’ve made, check out the release notes for the products below:

Share Your Feedback

Feel free to drop us a comment below sharing your thoughts. Or visit our Feedback portals about UI forWPF, Silverlight and  Document Processing Libraries and let us know if you have any suggestions or if you need any particular features/controls.

Don't wait—try out the latest:

UI for WPF UI for Silverlight

In case you missed it, here are some of the  updates from our last release .


以上所述就是小编给大家介绍的《R2 2020 SP of Telerik UI for WPF Brings 50+ Enhancements and New Features》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

快速傅里叶变换

快速傅里叶变换

K. R. Rao、D. N. Kim、J. J. Hwang / 万帅、杨付正 / 机械工业出版社 / 2013-3 / 98.00元

《国际信息工程先进技术译丛·快速傅里叶变换:算法与应用》深入浅出地阐述了快速傅里叶变换(FFT)的原理,系统地总结了各类FFT算法,并广泛精辟地介绍了FFT在视频和音频信号处理中的各种应用。《国际信息工程先进技术译丛·快速傅里叶变换:算法与应用》在阐述了离散傅里叶变换(DFT)的原理和性质之后,详细讨论了时域抽取(DIT)和频域抽取(DIF)的各类快速算法。论述了近似计算DFT的整数FFT、二维及......一起来看看 《快速傅里叶变换》 这本书的介绍吧!

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具