Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting ExtendsContentIntoTitleBar in XAML causes WMC0612 #9100

Closed
HO-COOH opened this issue Nov 18, 2023 · 5 comments
Closed

Setting ExtendsContentIntoTitleBar in XAML causes WMC0612 #9100

HO-COOH opened this issue Nov 18, 2023 · 5 comments
Labels
area-TitleBar Issues related to custom window title bars. bug Something isn't working needs-triage Issue needs to be triaged by the area owners team-Markup Issue for the Markup team

Comments

@HO-COOH
Copy link

HO-COOH commented Nov 18, 2023

Describe the bug

Setting ExtendsContentIntoTitleBar in XAML causes

Severity	Code	Description	Project	File	Line	Suppression State
Error	WMC0612	The XAML Binary Format (XBF) generator reported syntax error '0x09C4' : Property Not Found	WinUI3Cpp	C:\Users\Peter\Source\Repos\WinUI3Cpp\MainWindow.xaml	11	

Steps to reproduce the bug

  1. In MainWindow.xaml, add the property
<Window
    x:Class="WinUI3Cpp.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WinUI3Cpp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    ExtendsContentIntoTitleBar="True"
    mc:Ignorable="d">

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.4.2: 1.4.231008000

Windows version

Windows 10 (1809): Build 17763

Additional context

No response

@HO-COOH HO-COOH added the bug Something isn't working label Nov 18, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Nov 18, 2023
@ghost1372
Copy link
Contributor

ghost1372 commented Nov 18, 2023

This is known issue and duplicate,
You should set it in code-behinde

Window.Extend.... //Or this.Extend...

@HO-COOH
Copy link
Author

HO-COOH commented Nov 18, 2023

@ghost1372 I didn't find another open issue about this.

@ghost1372
Copy link
Contributor

@ghost1372 I didn't find another open issue about this.

i cant remember dup issue, but there was same issue for Title and they fixed in v1.3
https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/stable-channel#version-131-13230502000

@HO-COOH HO-COOH changed the title Setting ExtendsContentIntoTitleBar in XAML causes WMC061 Setting ExtendsContentIntoTitleBar in XAML causes WMC0612 Nov 20, 2023
@bpulliam bpulliam added team-Markup Issue for the Markup team area-TitleBar Issues related to custom window title bars. and removed needs-triage Issue needs to be triaged by the area owners labels Dec 11, 2023
@pratikone
Copy link
Contributor

pratikone commented Feb 23, 2024

ExtendsContentIntoTitleBar="True" is not supported in markup. It is only supported in code behind in C# /C++. Closing as not an issue.

@pratikone pratikone closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2024
@HO-COOH
Copy link
Author

HO-COOH commented Feb 23, 2024

ExtendsContentIntoTitleBar="True" is not supported in markup. It is only supported in code behind in C# /C++. Closing as not an issue.

Documented nowhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TitleBar Issues related to custom window title bars. bug Something isn't working needs-triage Issue needs to be triaged by the area owners team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

4 participants