CalcBinding icon indicating copy to clipboard operation
CalcBinding copied to clipboard

Error in WPF-Xaml Editor, binding is working though

Open RambaaZambaa opened this issue 8 years ago • 2 comments

Hi, the following Tooltip-Binding is throwing an xaml-error in visual-studio:

ToolTip="{c:Binding '(myValue>0 ? \'sentence one\' : \'sentence two\')'}"

"markup extension is not properly closed".

It's working fine in the app at runtime though.

How do i fix that? Thanks!

RambaaZambaa avatar Jun 30 '17 11:06 RambaaZambaa

IntelliSense isn't aware of CalcBinding intrinsics and marks this as invalid syntax. As this library isn't part of the Microsoft-lead C# ecosystem, IntelliSense won't be internally updated to accomodate to this syntax.

Aurumaker72 avatar Apr 14 '22 07:04 Aurumaker72

IntelliSense isn't aware of CalcBinding intrinsics and marks this as invalid syntax. As this library isn't part of the Microsoft-lead C# ecosystem, IntelliSense won't be internally updated to accomodate to this syntax.

sound cool

ylyuanlei0110 avatar Feb 06 '24 09:02 ylyuanlei0110