Skip to content

Add AppWindow Title Bar Customization sample - #2105

Merged
Niels Laute (niels9001) merged 18 commits into
microsoft:mainfrom
Zakariathr22:TitleBar
Feb 9, 2026
Merged

Niels Laute (niels9001) merged 18 commits into
microsoft:mainfrom
Zakariathr22:TitleBar

Conversation

@Zakariathr22

@Zakariathr22 Zakaria Tahri (Zakariathr22) commented Feb 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

Main changes are:

  • Introduced AppWindowTitleBarPage showcasing customization examples.
  • Updated ControlInfo.json accordingly.
  • Implemented a lightweight ColorSelectorcontrol.
  • Added new Sample Windows to demonstrate usage scenarios.
  • Updated both AppWindow and TitleBar pages with the new enhancements.

Motivation and Context

How Has This Been Tested?

Manually tested

Screenshots (if appropriate):

image image image image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
@Zakariathr22 Zakaria Tahri (Zakariathr22) changed the title Add AppWindow Title Bar Color Customization sample Feb 1, 2026
@Zakariathr22
Zakaria Tahri (Zakariathr22) marked this pull request as ready for review February 4, 2026 21:51
@Zakariathr22

Copy link
Copy Markdown
Contributor Author

Marcel W. (@marcelwgn) Niels Laute (@niels9001)
I would appreciate your review on this

@niels9001

Copy link
Copy Markdown
Collaborator

Zakaria Tahri (@Zakariathr22) Amazing work as always :)!!!! See my two comments, other than that: good to go!

@niels9001
Niels Laute (niels9001) enabled auto-merge (squash) February 9, 2026 08:07
@niels9001

Copy link
Copy Markdown
Collaborator

/azp run

auto-merge was automatically disabled February 9, 2026 13:33

Head branch was pushed to by a user without write access

@niels9001
Niels Laute (niels9001) enabled auto-merge (squash) February 9, 2026 13:57
@niels9001

Copy link
Copy Markdown
Collaborator

/azp run

@niels9001
Niels Laute (niels9001) merged commit 06edbbd into microsoft:main Feb 9, 2026
1 check passed
Marcel W. (marcelwgn) pushed a commit that referenced this pull request Sep 5, 2026
…as HeightOption (#2227)

The property was misspelled when this example was added in #2105; it
should be
[PreferredHeightOption](https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.windowing.appwindowtitlebar?view=windows-app-sdk-2.0),
not HeightOption.

This issue was originally reported at
microsoft/microsoft-ui-xaml#11779.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants