Articles in this section
Category / Section

How to improve performance in WPF Skin Storage while using VisualStyles ?

1 min read

SkinManager performance can improve when Skin Storage’s “EnableOptimization attached property is set as True. For optimal results, you can enable this attached property with the required window.

XAML

<syncfusion:ChromelessWindow x:Class="Sample.MainWindow"  x:Name="window"                           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml xmlns:sfSample="clr-namespace:Sample"  xmlns:syncfusion="http://schemas.syncfusion.com/wpf” Title="MainWindow" syncfusion:SkinStorage.EnableOptimization="True"
syncfusion:SkinStorage.VisualStyle="Office2010Blue" >

C#

SkinStorage.SetEnableOptimization(window, true);
SkinStorage.SetVisualStyle(DependencyObject object, “Office2010Blue”);

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments
Please sign in to leave a comment
Access denied
Access denied