Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Titlebar Property to set the Close button visibility #303

Merged
merged 6 commits into from
Jul 30, 2022

Conversation

JannesStroehlein
Copy link
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.

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

Fixed the wrong Cref

@JannesStroehlein
Copy link
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