What’s New in 2021 Volume 4: WinUI and WPF | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (175).NET Core  (29).NET MAUI  (208)Angular  (109)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (41)Black Friday Deal  (1)Blazor  (220)BoldSign  (15)DocIO  (24)Essential JS 2  (107)Essential Studio  (200)File Formats  (66)Flutter  (133)JavaScript  (221)Microsoft  (119)PDF  (81)Python  (1)React  (101)Streamlit  (1)Succinctly series  (131)Syncfusion  (919)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (51)Windows Forms  (61)WinUI  (68)WPF  (159)Xamarin  (161)XlsIO  (36)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (150)Chart  (132)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (633)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (40)Extensions  (22)File Manager  (7)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (508)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (43)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (11)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (387)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (597)What's new  (333)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
What’s New in 2021 Volume 4 WinUI and WPF

What’s New in 2021 Volume 4: WinUI and WPF

In our recent 2021 Volume 4 release, the WinUI and WPF suites have rolled out new controls and exciting features. In this blog post, we will look at them briefly.

The Syncfusion WinUI toolkit includes feature-rich controls like DataGrid, Charts, and TreeView that embody fluent design for building modern and seamless Windows apps.

On the other hand, the WPF toolkit offers popular Charts, DataGrid, Scheduler, Diagram, Docking, and Maps as well as unique file-format libraries for manipulating Excel, Word, PDF, and PowerPoint files.

WinUI

First, let’s see what’s new in our Syncfusion WinUI platform.

Windows App SDK 1.0.0 compatible

Syncfusion WinUI controls are now compatible with the Windows App SDK 1.0.0. We will update our controls to the latest Windows 11 style in our upcoming 2022 Volume 1 release.

AutoComplete (new)

The new WinUI AutoComplete control is a text box component. It loads and populates suggestions quickly from a large volume of data depending on the users’ input characters. It has several out-of-the-box features, such as multiple selection, filtering, UI customization, grouping, and custom templates.

WinUI AutoComplete Control
WinUI AutoComplete Control

Filtering

The WinUI AutoComplete control has built-in support to filter data items. The filter operation starts as soon as we start typing characters in the text box. The related data will be displayed automatically.

Custom filtering

The AutoComplete control supports custom filtering to create users’ filtering logic.

Grouping

The grouping feature enables us to group the items’ collection using custom filtering.

Single and multiple selection

The AutoComplete control allows single and multiple selections. We can easily specify the required selection type using the SelectionMode property.

Watermark

Display placeholder text inside the WinUI AutoComplete control until the user enters text input.

Templates

Templates help us customize the dropdown list items with images or any other custom control.

Excel Library (new)

The WinUI XlsIO Library allows you to create, read, edit, and convert Excel documents programmatically, without any Microsoft Office dependencies.

Key features

  • Easily import and export data from and to common data sources.
  • Perform quick evaluations with 400+ functions.
  • Import data into a customized format using the template markers.
  • Create and edit all chart types including Excel 2016 charts.
  • Apply cell data validations with operators, alert messages, custom formulas, and dropdown lists.
  • Highlight important cells with conditional formatting.
  • Perform various cell-level operations like resize, hide or show, insert or delete, group and ungroup.
  • Perform custom formatting like number formats, text alignments, font settings, border settings, color settings, and rich text.
  • Read and write protected Excel workbooks and worksheets.
  • Create and edit AutoShapes, comments, text boxes, combo boxes, checkboxes, and option buttons.
  • Create and edit pivot tables and pivot charts.
  • Convert Excel documents into PDF, ODS, HTML, and image formats.
  • Convert Excel charts into image formats.
WinUI Excel Library
Excel File Created Using WinUI Excel Library

PDF Library (new)

The new WinUI PDF Library allows you to create, read, and edit PDF documents programmatically. Also, it offers functionalities to merge, split, stamp, form-fill, sign digitally, and protect and secure PDF data.

Key features

  • Create PDF files from scratch.
  • Add text, images, tables, and shapes.
  • Create, fill, and flatten PDF form fields.
  • Add headers and footers.
  • Open, modify, and save PDF documents.
  • Merge and split PDF files.
  • Encrypt and decrypt PDF files with advanced standards.
  • Add, modify, and remove interactive elements such as bookmarks, annotations, and attachments.
  • Digitally sign and validate signatures in PDF documents.
WinUI PDF Library
PDF File Created Using WinUI PDF Library

PowerPoint Library (new)

The WinUI PowerPoint Library allows you to add advanced PowerPoint presentation processing functionalities to any WinUI app. You can create, read, edit, and convert PowerPoint presentations programmatically, without Microsoft PowerPoint dependency. It is a non-UI component that provides a full-fledged document instance model, similar to the Microsoft Office COM libraries, to iterate the PowerPoint presentation elements explicitly and perform necessary manipulations.

Key features

  • Create PowerPoint presentations from scratch.
  • Open, modify, and save existing presentations.
  • Convert PowerPoint presentations to PDF.
  • Convert PowerPoint slides to images.
  • Create and edit charts.
  • Convert charts in a slide to images.
  • Clone and merge slides in presentations.
  • Create and edit animations, transition effects, and comments.
  • Encrypt and decrypt PowerPoint presentations.
  • Set and remove write protection for PowerPoint presentations.
  • Access built-in and custom document properties.
  • Create and modify sections in PowerPoint presentations.
WinUI PowerPoint Library
PowerPoint Presentation Created Using WinUI PowerPoint Library

Word Library (new)

The WinUI Word Library allows you to add advanced Word document processing functionalities to any WinUI app without Microsoft Word dependency. It is a non-UI component that provides a full-fledged document instance model, similar to the Microsoft Office COM libraries, to iterate the document elements explicitly and perform necessary manipulations. You can create, read, edit, and convert Word documents programmatically.

Key features

  • Create Word documents from scratch.
  • Open (read), modify, and save existing Word documents.
  • Use advanced mail merge support with different data sources.
  • Create or edit Word 97-2003 and later (DOCX) documents and convert them to commonly used file formats such as RTF, WordML, TXT, and HTML, and vice versa.
  • Export a Word document as a PDF file.
  • Create and manipulate charts and shapes.
  • Group shapes in DOCX and WordML formats.
  • Read and write built-in and custom document properties.
  • Find and replace text while maintaining the original formatting.
  • Insert bookmarks and navigate to them to insert, replace, and delete content.
  • Insert and edit form fields.
  • Protect a document to restrict access to its elements.
  • Encrypt and decrypt Word documents.
  • Insert and extract OLE objects.
  • Run Word Library apps as multithreaded apps and enjoy thread safety.
WinUI Word Library
Word document created Using WinUI Word Library

ComboBox

Custom search and filtering

The ComboBox control now allows users to create their own custom filtering logic.

Token support for multiple selection

Search and filter items in multiple selection mode using tokens.

Token Support for Multiple Selection in WinUI ComboBox
Token Support for Multiple Selection in WinUI ComboBox

Ribbon

Ribbon key tip

Users can access all the Ribbon elements through the keyboard, enhancing the app’s accessibility.

Ribbon Key Tip Feature in WinUI Ribbon Control
Ribbon Key Tip Feature in WinUI Ribbon Control

Ribbon gallery preview support

Events support is provided for the ribbon gallery items on mouse hover, which allows more customization of interaction. For example, we can preview the effect of ribbon gallery commands on mouse hover before applying the changes.

Ribbon Gallery Preview Support in WinUI Ribbon Control
Ribbon Gallery Preview Support in WinUI Ribbon Control

Contextual tab group

Ribbon contextual tab groups appear dynamically when a user needs them. For example, we can enable the Table tab only when a table is in focus. We can also group the ribbon tabs for easier navigation.

Contextual Tab Grouping in WinUI Ribbon Control
Contextual Tab Grouping in WinUI Ribbon Control

Segmented Control

Shadow effect

This feature lets users enable a shadow effect for selected segment items in the WinUI Segmented Control.

Shadow Effect in WinUI Segmented Control
Shadow Effect in WinUI Segmented Control

WPF

Now, let’s look at the new updates in our Syncfusion WPF platform.

Diagram

Drawing angled connectors

Draw connectors precisely at 0, 45, 90, 135, 180, 225, 270, or 315 degrees from a point by holding down the Shift key on the keyboard.

Drawing Angled Connectors in WPF Diagram Control
Drawing Angled Connectors in WPF Diagram Control

Containers

Containers are collections of logically grouped shapes surrounded by a visible border. You can drag the shapes in and out of the border during runtime.

Containers in WPF Diagram Control
Containers in WPF Diagram Control

Connector splitting

Split an existing connector smartly while dropping a shape on it.

Splitting Connectors in WPF Diagram Control
Splitting Connectors in WPF Diagram Control

Connection point interaction through the ribbon

Add or move connection points interactively using an option in the ribbon.

Connection Point Option in the WPF Diagram's Ribbon
Connection Point Option in the WPF Diagram’s Ribbon

Annotation interaction through the ribbon

Select, move, resize, or rotate annotations within a node or connector using an option in the ribbon.

Annotation Option in WPF Diagram's Ribbon
Annotation Option in WPF Diagram’s Ribbon

PDF Library

PDF to PDF/A conversion enhancement

You can see the following enhancements in the WPF PDF Library:

  • Doubled the performance in PDF-to-PDF/A conversion.
  • Easily convert PDF to PDF/A-2u and PDF/A-3u formats.

PDF Viewer

Hide, show, and remove annotations

Users can hide, show, and remove annotations in the PDF Viewer programmatically at runtime using the annotation’s name.

Handling Annotations in WPF PDF Viewer
Handling Annotations in WPF PDF Viewer

Add custom stamps

Add custom stamps programmatically to PDF files.

Bring annotations into view

This feature automatically scrolls the control to bring an annotation into view.

TreeView

CollectionView support

Users can now bind the CollectionView type sources in the WPF TreeView.

Conclusion

Thanks for reading! In this blog, we have seen the new, user-friendly controls and notable feature enhancements rolled out in our Syncfusion WinUI and WPF platforms for the 2021 Volume 4 release. These new updates are also available in our Release Notes and What’s New pages. Try out these stunning features and leave your feedback in the comments section below!

Explore the WinUI and WPF examples from this GitHub location. Additionally, you can download and check out our WinUI and WPF demo apps in the Microsoft Store.

You can contact us through our support forumssupport portal, or feedback portal. We are always happy to assist you!

Related blogs

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed