WinUI 3 | XAML | Tutorial - Custom TitleBar Search TextBox | C#

Опубликовано: 07 Июнь 2026
на канале: Andrew KeepCoding
5,318
53

[ATTENTION]
This is not working on latest versions. I'll post another way if I found any. The goodl news is that the WinUI 3 team is working on improvements for title bar customization.
   • WinUI Community Call - February 15, 2023  

In this video you'll see how to implement your custom TitleBar with a search TextBox.

Chapters:
00:00 Intro
00:26 Creating a WinUI3 app project
01:10 Inline RowDefinitions, Inline ColumnDefinitions
01:35 Creating a TitleBar
01:51 Adding a TitleBar Icon (gif)
02:43 ExtendsContentIntoTitleBar and SetTitleBar()
03:24 Adding TitleBar Search TextBox
04:42 Adding Highlighted TextBlock
07:05 Using Regex to search words
09:57 Ending

Twitter:
  / andrewkeepcodin  

#winui3 #xaml #titlebar