Skip to content

Added Titlebar Property to set the Close button visibility#303

Merged
pomianowski merged 6 commits intolepoco:mainfrom
JannesStroehlein:main
Jul 30, 2022
Merged

Added Titlebar Property to set the Close button visibility#303
pomianowski merged 6 commits intolepoco:mainfrom
JannesStroehlein:main

Conversation

@JannesStroehlein
Copy link
Copy Markdown
Contributor

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

You cannot hide the close button in the Title bar.

What is the new behavior?

The new ShowClose DependencyProerty allows the user to specify if the Close-Button should be displayed.

Other information

The default value is set to true to make this only a addition that does not influence already existing projects.

Comment thread src/Wpf.Ui/Controls/TitleBar.cs Outdated
@pomianowski pomianowski self-assigned this Jul 26, 2022
@JannesStroehlein
Copy link
Copy Markdown
Contributor Author

Fixed the wrong Cref

@JannesStroehlein
Copy link
Copy Markdown
Contributor Author

@pomianowski I fixed the wrong cref. I think you can merge this request now.

@pomianowski pomianowski merged commit 1ae7f60 into lepoco:main Jul 30, 2022
pomianowski added a commit that referenced this pull request Jul 30, 2022
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants