Open leoderja opened 1 year ago
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Related to #6210
Providing the ability to disable, enable, show or hide close, minimize, and maximize buttons in desktop apps can be a useful feature in certain cases. This feature can allow the application to provide a more customized and streamlined interface that is tailored to the needs and preferences of its users.
For example, in a kiosk or public access setting, it may be desirable to disable the close, minimize, and maximize buttons to prevent users from exiting the application or tampering with the system. In other cases, users may prefer a minimalist interface that does not include these buttons, or may require the buttons to be easily accessible for quick window management.
By providing the ability to easily disable, enable, show, or hide these buttons, the application can adapt to different user preferences and scenarios, without requiring extensive customization or programming.
Any updates on this issue?
Description
It would be worth to have a set of properties on [WinUI][MacOS?] to Disable/Enable/Show/Hide Close/Minimize/Maximize buttons in the title bar.
Public API Changes
Page.TitleBar.MaximizeButton = ControlButtonsOptions.Hide; //or Show / Enable / Disable
Intended Use-Case
In Desktop Apps, there are situations where you need to control the WindowState (Maximize/Minimize) or ask for save changes before exit the App. I can not dive in the complexities of WinUI/MacOS to achieve this functionallity