Use source code in WP 7.5 / 7.8



First I really want to thank you for the great control. It works like a charm! - Unfortunately, just in WP 8 for me!

Using Windows Phone 7.5 / 7.8, I'm not able to use your source code properly. I have copied the ReorderListBox.cs and ReorderListBoxItem.cs files into my assembly. (Where) shoul I add the Themes\Generic.xaml? Should I add/do something else?

I want to use your control like this:
<rlb:ReorderListBox x:Name="MainViewReorderListBox" IsReorderEnabled="True" >
                                <TextBlock Margin="12,4,12,4" FontSize="36" Text="{Binding}" />
I appreciate every help. :)


jasongin wrote Jan 20, 2014 at 6:49 AM

Copy Generic.xaml into a Themes subfolder in your project. I think that should be all you need.

sebfrie wrote Jan 20, 2014 at 7:21 AM

Thanks for you answer but it doesn't seem to solve the problem.

After adding the Themes/Generic.xaml (buildaction: page ??) I get an exception when trying to set DefaultStyleKey.DeclaringMethod in the control's constructor: InvalidOperationException: [Arg_NotGenericParameter]

Do you also get this exception? How can I manage that?