User Profile & Activity

Domingo Fugaban Member
Page
of 6
Thanks for your response. This should be a good start. But the sample application is a setter. What we need is the other way around. We need to get the value from the component, not set its value. The SignaturePad component does not provide a setter, which is why we implemented a public property Image to a View wrapper and invoke the GetImage from the gettter of the property. Thanks!

What we are trying to do here is wrapping a component so that it is bindable in such a way that any changes from the component should also be reflected to the viewmodel. We hope we are making much more sense here than our first post. You showed us how to set a property value of a component, but HOW do we read any changes from that property?

NOTE: We wish a technical document will be available soon, similar to MSDN website where Crosslight framework's properties, methods, etc are exposed with samples. Something we can look at in times like these. The response time isn't enough during realtime development. And chat availabililty should be a 24-hour support.
Hi Guys,

I think we found the issue for this. The root cause of this issue is that, for every asynchronous operation we keep adding or hooking up the Completed event without removing it in the process. In return, any process invoking the navigation service from within the completed event causing the navigation bar to get corrupted as shown on the debug log from our first post.

I am attaching a link here for your reference. Hope this helps.

Many thanks!
Posted: March 24, 2014 9:55 AM

Hi,


If I understand it correctly, you are trying to go back to the previous page and not a specific viewmodel from the the history stack. If so, you just need to call the code below:

this.NavigationService.Close(new NavigationResult(NavigationResultAction.Done));

This will close the current view tied to the current viewmodel, and will navigate to the previous viewmodel. Hope that helps. Cheers!

That's good news.
Please do reply, we would really like to know your answer regarding this question. Thanks!
All times are GMT -5. The time now is 8:55 AM.
Previous Next