Error in XAML editor

Jul 18, 2016 at 3:57 AM
Looks like a powerful utility. I have it working using one of the supplied examples, but I can't get past it showing up as an error in my xaml editor. It will run fine and work properly, but I can't get rid of the error. I have cleaned my solution, restarted Visual Studio several times, but can't get rid of it reporting an error. Below is a sample of my xaml code and the error that it gives. Any help would be appreciated. Thanks.

My xaml:
<Grid Visibility="{qc:Binding '$P ? Visibility.Visible : Visibility.Collapsed', P={Binding IsGridVisible}}">

Error:
Error: Failed to tokenize expression "$P ? Visibility.Visible : Visibility.Collapsed". Did you forget a '$'?