I have a Button and a TabControl with some Tabs. I want to hide the button, if the second tab is selected. This is my approach, but the button does not disappear if I click
Because you want to bind to the property of another element in your application you should use Binding.ElementName Property and Path like this:
Path