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

Can't bind to ShowTitleBar #2877

Blinxar opened this Issue Mar 3, 2017 · 1 comment


None yet
2 participants

Blinxar commented Mar 3, 2017

What steps will reproduce this issue?

I've bound the ShowTitleBar property on my window to a property on my view model

ShowTitleBar="{Binding ShowTitleBar}"

bool showTitleBar= false;
public bool ShowTitleBar
    get => showTitleBar;
    set => Set(ref showTitleBar, value);

protected virtual bool Set<T>(ref T property, T value, [CallerMemberName] string propName = null)
    if (EqualityComparer<T>.Default.Equals(property, value)) return false;
    property = value;
    return true;

The property on the window does take the initial value of the property on the view model, however, updating the property on the view model doesn't update the window.

Using snoop, there's no reference to the binding on the ShowTitleBarProperty


All other bindings are working. If I change the binding to IsEnabled="{Binding ShowTitleBar}" then it works as expected


  • MahApps.Metro v1.4.3
  • Windows OS: Windows 8.1 x64
  • Visual Studio 2017 RC
  • .NET Framework 4.5.2

@punker76 punker76 added the Bug label Mar 3, 2017

@punker76 punker76 added this to the 1.5.0 milestone Mar 3, 2017

@punker76 punker76 closed this in fd788a1 Mar 3, 2017


This comment has been minimized.

Show comment
Hide comment

punker76 Mar 4, 2017


This will be fixed in 1.5.0


punker76 commented Mar 4, 2017

This will be fixed in 1.5.0

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