TitlebarControl should be a Template #2790

Open
opened 2026-01-30 23:05:12 +00:00 by claunia · 1 comment
Owner

Originally created by @zadjii-msft on GitHub (Jul 16, 2019).

The TitlebarControl introduced in #1948 should be a XAML Template, so we can style it easier. Right not the control is just straight up defined in XAML, but it should do the thing most controls do, where they're a ResourceDictionary with a Template.

Originally created by @zadjii-msft on GitHub (Jul 16, 2019). The `TitlebarControl` introduced in #1948 should be a XAML Template, so we can style it easier. Right not the control is just straight up defined in XAML, but it should do the thing most controls do, where they're a ResourceDictionary with a Template.
claunia added the Issue-TaskProduct-TerminalArea-CodeHealth labels 2026-01-30 23:05:12 +00:00
Author
Owner

@mdtauk commented on GitHub (Jul 16, 2019):

It should be a control with templates, properties, and control states

Also consider properties like

  • CanMaximise
  • CanMinimise
  • CanRestore

Which would hide those buttons if you wanted to make a settings screen which only shows a close button. Also consider how these TitleBar Controls will handle FullScreen/Tablet Mode

image
Full Screen

Screenshot (17)
Tablet Mode

@mdtauk commented on GitHub (Jul 16, 2019): It should be a control with templates, properties, and control states Also consider properties like * CanMaximise * CanMinimise * CanRestore Which would hide those buttons if you wanted to make a settings screen which only shows a close button. Also consider how these TitleBar Controls will handle FullScreen/Tablet Mode ![image](https://user-images.githubusercontent.com/7389110/61311126-a2af5c80-a7ed-11e9-80cd-eab0a88b3a4b.png) _Full Screen_ ![Screenshot (17)](https://user-images.githubusercontent.com/7389110/61311203-ca9ec000-a7ed-11e9-8eea-fd6c32603de2.png) _Tablet Mode_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2790