-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delegate to an instance method cannot have null 'this' #1
Comments
Something goes wrong in the OnApplyTemplate method. Can you double check that the style template is in your project (Themes\Generic.xaml - name and path is important) ? I assume that this is your problem. |
in my solution added Class Library Controllers with PullToRefreshListView class and Themes\Generic.xaml file. Generic.xaml
In me project VkMedia added reference to Controllers. And in Mainview.xaml code:
|
ops..xaml in class library - it is not right ? It looks like it's my fault |
Moved Controls and Themes folder in my project. But nothing has changed, the error remained. |
you can prevent this error by disabling project code button which stands at the bottom of the xaml designer window. its probably happening due to that we created a subclass of listview. xaml designer may not be able to create a new instance of a custom element. so because of that while invoking refreshcontent event 'this' keyword returns null. |
What am I doing wrong? I have a mistake:
Delegate to an instance method cannot have null 'this'.
http://i.imgur.com/wosgusv.png
http://i.imgur.com/zWkILsv.png
My app for Windows Phone 8.1 only.
I use Deani Hansen's Pull-to-Refresh ScrollViewer, but the same error with PullToRefreshListView.
http://i.imgur.com/nBGYZqp.png
http://i.imgur.com/xiH8q3Q.png
http://i.imgur.com/OUrezgv.png
The text was updated successfully, but these errors were encountered: