Hi
i am creating a winui3 application i want these
1.how to add icon to top right corner of title bar window
2.how to remove window title
3.how to change title bar color
Hi
i am creating a winui3 application i want these
1.how to add icon to top right corner of title bar window
2.how to remove window title
3.how to change title bar color
With ExtendsContentIntoTitleBar + SetTitleBar (on Windows 10, with a Manifest for >=Windows 8 compatibility)
See : Title bar customization
A test (on Windows 10 21H1):

@Castorix31
Hi,
Thank you for prompt reply can you please send me the code of this exactly this is what i am looking for it wil be helpful.
You can put anything as parameter of SetTitleBar
In my test :
ExtendsContentIntoTitleBar = true;
SetTitleBar(AppTitleBar);
XAML : AppTitleBar
ExtendsContentIntoTitleBar = true;
SetTitleBar(AppTitleBar);
this line disabling right side buttons like close,maximize and minimize
Hi @Castorix31 can we change the titlename dynamically when we navigate to Pages in Winui3?
You can just change the title of the Window class (this.Title if you're inside the class)
For example, with a NavigationView and SelectionChanged event :

4 people are following this question.