Hi,
I'm trying to set the Visibility of a TextColumn using binding (MVVM style, INotifyPropertyChanged...):
Visibility="{Binding ElementName=LayoutRoot, Path=DataContext.MyVisibilityProperty}"
Somehow this doesn't work. The MyVisibilityProperty raises the PropertyChanged event, but nothing happens. How can I get this to work?
Thanks,
Arjen
Hi Arjen,
I looked more thourougly into this and found a solution that should work better in your situation: Visibility={Binidng isVisible, Source={StaticResource myViewModel}
Hope this suits you better. Please let me know if you got everything working.
Regards Petar.
Hi Petar,
This was indeed the solution. Thanks.