Provide a cross platform API for customizing the TitleBar of desktop apps #13023
Closed
2 of 6 tasks
Labels
area-controls-window
Window
fixed-in-8.0.80
fixed-in-9.0.0-preview.7.24407.4
partner/cat 😻
this is an issue that impacts one of our partners or a customer our advisory team is engaged with
partner/winui
WinUI / Project Reunion
platform/iOS 🍎
proposal/open
t/desktop
The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)
User Story
A single user-facing feature. Can be grouped under an epic.
Milestone
Description
Currently the
TitleBar
on WinUI isn't easily changeable from the xplat code. Users can modify the WinUIAppTitleBar
through resources #5811 but ideally you could configure it through xplat code.On Catalyst we currently have no way to do this other than users just adding the behavior themselves through the handler and hacking the layouts to work.
Related Issues
(Public) API Changes
TitleBar Control
This control is mostly based on the control in the WinAppSDK 1.6 Preview:
Properties
Content
, allows full hit testContent
, allows full hit testTitle
andSubtitle
textTitle
andSubtitle
text when the window is not focusedFalse
will hide the TitleBarWindow
Methods
Usage Scenarios
XAML
Backing .cs
Backward Compatibility
N/A
Difficulty
High
The text was updated successfully, but these errors were encountered: