Introducing the New WinUI Shimmer Control | 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  (67)Flutter  (133)JavaScript  (221)Microsoft  (119)PDF  (81)Python  (1)React  (101)Streamlit  (1)Succinctly series  (131)Syncfusion  (920)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (51)Windows Forms  (61)WinUI  (68)WPF  (159)Xamarin  (161)XlsIO  (37)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (151)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  (41)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)
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