Skip to content

Wrong behavior with ShowTitleBar="False" in XAML control metrowindow settings #3192

@whentotrade

Description

@whentotrade

Setting ShowTitleBar to "False" in the controls metrowindow xaml results in the still shown title bar in the window. The dynamic binding in the demo works, but if it is set to "false" in the xaml control definition, the title bar is still there.

What steps will reproduce this issue?

You can check by replacing the MahApps.Metro.Demo.NET45

from

<Controls:MetroWindow x:Class="MetroDemo.MainWindow"
                    ....
                      ShowTitleBar="ShowTitleBar="{Binding ShowMyTitleBar, Mode=OneWay}"

to

<Controls:MetroWindow x:Class="MetroDemo.MainWindow"
                    ....
                      ShowTitleBar="False"

Expected outcome

TitleBar should be hidden when set to False in XAML definition.

Environment

  • MahApps.Metro v1.6
  • Windows OS 10
  • Visual Studio 2017
  • .NET Framework 4.61

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions