using a constant value in a style setter for TreeViewExItem.CanDrag throws an exception

Jun 27, 2014 at 7:38 PM
Edited Jun 27, 2014 at 7:39 PM
For example, changing the following in the DragNDropSample's MainWindow.xaml:
<!--<Setter Property="CanDrag" Value="{Controls:MethodBinding CanDrag}" />--> <Setter Property="CanDrag" Value="true" />

You'll get a null reference exception.
Jun 27, 2014 at 9:02 PM
Edited Jun 27, 2014 at 9:23 PM
Ah, it's not a boolean dependency property. Well, that makes sense now. Never mind.
Marked as answer by onelogintoomany on 6/27/2014 at 1:20 PM