O'Reilly logo

MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF by Muhammad Shujaat Siddiqi, Ryan Vice

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

readonly CLR properties (with no change notification support)

The WebBrowser control also has readonly CLR properties like CanGoBack. When we get the value of this property, the control looks at its navigation list and determines if there are any pages in the list and returns true if there are some navigable pages or false otherwise. Like any other web browser, our web browser needs to support backward navigation, if possible. For this purpose, we want to include a Back button on the interface. It seems like this would be easy to implement using the CanGoBack property. We could use this property in CanExecute of ICommand and use an instance of the command for this button. The only issue is that CanGoBack is readonly and does not support change ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required