Potentially spurious warning 'IsChecked' property not found on 'object' ''RibbonMenuButton' ?
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
It seems like will throw a spurious warning at runtime. I've noticed this and also found it discussed here:
My own example is:
System.Windows.Data Warning: 40 : BindingExpression path error: 'IsChecked' property not found on 'object' '' RibbonMenuButton' (Name='NavRotate2DButton')'. BindingExpression:Path=IsChecked; DataItem='RibbonMenuButton' (Name='NavRotate2DButton'); target element is 'RibbonToggleButton' (Name='PART_ToggleButton'); target property is 'NoTarget' (type 'Object')
I'm not use any IsChecked properly with the NavRotate2DButton object in my code.
_This issue has been moved from https://developercommunity.visualstudio.com/content/problem/665487/potentially-spurious-warning-ischecked-property-no.html
VSTS ticketId: 956791_
_These are the original issue comments:_
(no comments)
_These are the original issue solutions:_
(no solutions)
Contributor guide
Assessment
This issue has not been assessed yet.