-
Notifications
You must be signed in to change notification settings - Fork 802
Open
Labels
area-TitleBarIssues related to custom window title bars.Issues related to custom window title bars.bugSomething isn't workingSomething isn't working
Description
Describe the bug
The Window class in WinUI 3 has a ExtendsContentIntoTitleBar property. However, it's not usable and requires a developer to set this in code-behind.
When set in XAML, the project does not compile throwing the following error: The XAML Binary Format (XBF) generator reported syntax error '0x09C4' : Property Not Found
THIS WORKS
Steps to reproduce the bug
- Create a new project
- Open
MainWindow.xaml - Set
ExtendsContentTitleBar="True"in the Window object - Press F5
- Error is thrown and does not compile.
Workaround
- Open
MainWindow.xaml.cs - Set
ExtendsContentIntoTitleBarin the contructor. - Press F5
Expected behavior
This should just work in XAML as it's shown by IntelliSense and it's a property that can be set in code-behind.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.7 Preview 1: 1.7.250208002-preview1
Windows version
Windows 11 (24H2): Build 26100
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-TitleBarIssues related to custom window title bars.Issues related to custom window title bars.bugSomething isn't workingSomething isn't working


