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

Jun 27, 2014 at 6:38 PM
Edited Jun 27, 2014 at 6: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 8:02 PM
Edited Jun 27, 2014 at 8: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