Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,783 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello
I am doing an app, that every new Window is a Chromeless Windows and uses fluent design.
Every time I create a new XAML I have to declare
<syncfusion:ChromelessWindow
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:syncfusionskin="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
syncfusionskin:SfSkinManager.Theme="{syncfusionskin:SkinManagerExtension ThemeName=FluentDark}"
AllowsTransparency="True"
CornerRadius="10"
ShowIcon="False"
mc:Ignorable="d">
<Grid />
</syncfusion:ChromelessWindow>
and in my code behind
public partial class CittyDetailsWinow : ChromelessWindow
{
public CittyDetailsWinow()
{
InitializeComponent();
}
}
my question is, there is a way to make all my windows implement this automatically