Skip to content

Improve Windowing sample with new features #902

Description

@MartinZikmund

What would you like to be added? 💡

Add new sample pages to the Windowing sample:

  • Illustrating Window.ExtendsContentIntoTitleBar API to allow extending XAML UI the titlebar area while preserving the caption buttons
  • Illustrating the SetBorderAndTitleBar API with (true, false) to completely extend the client area and hide the caption buttons (allowing the user to render their own custom buttons - including InputNonClientPointerSource.SetRegionRects for Maximize button to support Snap layouts menu)
  • Illustrating the usage of InputNonClientPointerSource.SetRegionRects for Caption (the sample could display a red rectangle in the middle of the window that would allow dragging the whole window)

Why is this needed? 🤔

No response

Renderer 🎨

  • Skia
  • Native

For which platforms 📱💻🖥️

No response

Anything else we need to know? 💬

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions