This is a migrated thread and some comments may be shown as answers.

InvertedBooleanConverter not found

1 Answer 111 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 30 May 2012, 06:53 PM
I am trying to update to the current version of Silverlight Telerik controls and am dealing with filtering issues that broke me. But I think I have a handle on those. Now I get a strange problem:
My IntelliSense tells me it doesn't know about InvertedBooleanConverter. In the old version I see it under Telerik.Windows.Controls.Docking but it is not there in the new version of the controls. I don't see anything in the forums or documentation anywhere that says this has been removed. What gives?

Lee

1 Answer, 1 is accepted

Sort by
0
Lancelot
Top achievements
Rank 1
answered on 31 May 2012, 04:45 PM
Hi Lee,

To reach the InvertedBooleanConverter, try the full namespace below. The converter is being moved to the Controls assembly.

xmlns:telerikConverter="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"

Here is an example of it in action

<telerik:RadMenuItem.IsChecked>
      <Binding Path="IsPinned">
           <Binding.Converter>
                <telerikConverter:InvertedBooleanConverter/>
           </Binding.Converter>
      </Binding>
< /telerik:RadMenuItem.IsChecked>

Here are another other forum post of experiencing issues with the converter when updating to SL 5, version 2012.1.215.1050 

http://www.telerik.com/community/forums/wpf/general-discussions/error-in-invertedbooleanconverter.aspx


Let me know if this doesn't solve your issue, and we can dig deeper if you provide me with the problematic code.

Good Luck!
Lancelot

Tags
Docking
Asked by
Lee
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
Share this question
or