TargetNullValue

How to hide control if DataContext is null in WPF?

Use TargetNullValue against visibility property