Introducing the New WinUI Shimmer Control | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (180).NET Core  (28).NET MAUI  (224)Angular  (113)ASP.NET  (49)ASP.NET Core  (81)ASP.NET MVC  (87)Azure  (41)Black Friday Deal  (1)Blazor  (234)BoldSign  (14)DocIO  (24)Essential JS 2  (110)Essential Studio  (199)File Formats  (72)Flutter  (135)JavaScript  (226)Microsoft  (121)PDF  (83)Python  (1)React  (105)Streamlit  (1)Succinctly series  (131)Syncfusion  (960)TypeScript  (33)Uno Platform  (3)UWP  (3)Vue  (46)Webinar  (53)Windows Forms  (59)WinUI  (72)WPF  (162)Xamarin  (159)XlsIO  (38)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (10)Business intelligence  (55)Button  (4)C#  (163)Chart  (145)Chart of the week  (57)Cloud  (15)Company  (440)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (73)Development  (676)Doc  (7)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (7)Essential Tools  (13)Excel  (43)Extensions  (23)File Manager  (7)Gantt  (20)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  (519)Mobile MVC  (9)OLAP server  (2)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (45)Performance  (13)PHP  (2)PivotGrid  (5)Predictive Analytics  (6)Report Server  (3)Reporting  (8)Reporting / Back Office  (9)Rich Text Editor  (12)Road Map  (12)Scheduler  (54)Security  (5)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (32)Solution Services  (4)Spreadsheet  (11)SQL  (15)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (113)UI  (400)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (624)What's new  (337)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Introducing the New WinUI Shimmer Control

Introducing the New WinUI Shimmer Control

We are thrilled to introduce the all-new WinUI Shimmer Control in our Syncfusion Essential Studio 2023 Volume 3 release.

The WinUI Shimmer control is a cutting-edge tool designed to enrich the user interface of your applications. It introduces a stylish shimmer effect that becomes visible when the app loads data or processes tasks in the background. This innovative feature not only boosts the responsiveness of your apps, but it also infuses them with a modern and elegant aesthetic.

The shimmer effect is a visual indicator for users, signalling that the app is diligently processing their request. This clever design element keeps users engaged and patient, even during operations that might take some time.

Let’s explore the features of this new WinUI Shimmer Control and the steps to get started with it.

Key features

The key features of the control are:

Built-in shimmer types

The WinUI Shimmer (SfShimmer) control offers various built-in shimmer types, each tailored to meet specific user interface needs. These built-in options simplify crafting engaging loading animations for your WinUI apps. The built-in shimmer types include CirclePersona, SquarePersona, Profile, Article, Video, Feed, and Shopping.

Built-in Shimmer Types in WinUI Shimmer Control
Built-in Shimmer Types in WinUI Shimmer Control

Custom shimmer type

The custom layout support in the WinUI Shimmer control gives you the creative freedom to design your unique shimmer types. This level of customization grants you complete control over crafting your desired shimmer effects.

Creating Custom Shimmer Effect Using WinUI Shimmer Control
Creating Custom Shimmer Effect Using WinUI Shimmer Control

Other customizations

The WinUI Shimmer control also provides extensive customization options. You can fine-tune aspects like fill color, wave color, wave width, wave duration, and repeat count to apply the shimmer effect precisely with your app’s design.

Fill color

You can customize the shimmer view by changing the fill color according to your preferences. This feature allows for greater personalization and can be adjusted to match the overall aesthetic of the app.

Customizing Fill Color in WinUI Shimmer Control
Customizing Fill Color in WinUI Shimmer Control

Wave color

You can change the shimmer wave color to a desired color.

Customizing Wave Color in WinUI Shimmer Control
Customizing Wave Color in WinUI Shimmer Control

Wave width

The WinUI Shimmer control allows you to adjust the wave width to a preferred value. Whether aiming for a narrow, subtle wave or a wide, prominent one, you can make it happen.

Customizing Wave Width in WinUI Shimmer Control
Customizing Wave Width in WinUI Shimmer Control

Wave duration

You can customize the wave duration, which determines the duration of the animation wave in milliseconds.

Customizing Wave Duration in WinUI Shimmer Control
Customizing Wave Duration in WinUI Shimmer Control

Repeat count

You can also customize the number of times the shimmer effect repeats.

Customizing Shimmer Repeat Count in WinUI Shimmer Control
Customizing Shimmer Repeat Count in WinUI Shimmer Control

Note: For more details, refer to the WinUI Shimmer Control documentation.

Getting started with the WinUI Shimmer Control

Now that we have explored the key features of the WinUI Shimmer Control, let’s see how to seamlessly integrate it, specifically the built-in type Article, into your WinUI app.

Step 1: Create a WinUI application

First, create a simple project using the Creating app with Windows app SDK documentation.

Step 2: Add the Syncfusion.Core.WinUI NuGet package

Install the latest Syncfusion.Core.WinUI NuGet package in the app from NuGet Gallery or from the installed location: C:\Program Files (x86)\Syncfusion\Essential Studio\WinUI\xx.x.x.xx\NuGetPackages.

Note: The xx.x.x.xx denotes the version of the installed Syncfusion WinUI Core package.

Step 3: Add the namespace

Now, include the Syncfusion.UI.Xmal.Core namespace in your XAML file.

xmlns:syncfusion="using:Syncfusion.UI.Xaml.Core"

Step 4: Initialize the WinUI Shimmer Control

Finally, initialize the WinUI Shimmer Control with the desired shimmer type. Here, we’ll use the Article shimmer type.

Refer to the following code example.

<Page
    x:Class="GettingStarted.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:GettingStarted"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:syncfusion="using:Syncfusion.UI.Xaml.Core"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    <Grid>
      <syncfusion:Shimmer Type="Article">
        <syncfusion:Shimmer.Content>
         …….
        </syncfusion:Shimmer.Content>
      </syncfusion:Shimmer>
    </Grid>
</Page>

After executing the above code example, we’ll get the shimmer effect for our article content, like in the following image.

Integrating Shimmer Control in WinUI Application
Integrating Shimmer Control in the WinUI Application

GitHub reference

For more details, refer to the WinUI Shimmer Control GitHub demos.

Conclusion

Thanks for reading. In this blog, we explored the features of the new Syncfusion WinUI Shimmer Control available in our 2023 Volume 3 release. Now, you’re all set to enhance your WinUI app’s user experience with our Shimmer Control. Enjoy the benefits of improved responsiveness and engaging loading animations.

Also, check out our Release Notes and What’s New pages to see other new updates in this release. Try them out and leave your feedback in the comments section below! 

The new version is available for existing customers from the License and Downloads page. If you are not a Syncfusion customer, try our 30-day free trial to check out our newest features.

You can also 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