There might raise situations in your Project where you might be interested to check if the ViewModel specified has a corresponding View defined and gradefully handle the error, than throwing an exception. Caliburn Micro's ViewLocator class provides you methods that enables you to do exactly that.
Invoke UIElement’s Focus() Method From ViewModel
One of the things WPF developers often notice is inability to SetFocus on a particular control from the ViewModel. This problem can be however easily resolved using an attached property. Let's examine the code. We will begin by writing an attached property, for the purpose of example, named as IsFocused. The sole objective of the … Continue reading Invoke UIElement’s Focus() Method From ViewModel
Stimulsoft – Non-Modal Designer in WPF App
Stimulsoft Reports is one among the most powerful and easy to use Reporting Tools available. While this post is not focused on feature of Stimulsoft Reports, it is worth checking out the features in Stimulsoft Website. Embedded Stimulsoft Designer Control and MVVM The post would rather focus on displaying the powerful Stimulsoft Designer in … Continue reading Stimulsoft – Non-Modal Designer in WPF App
Binding Navigated Event in WebView Control
WebView Control in Xamarin.Form is a highly useful control for displaying a Web Page within your Mobile Application. You can either specify the URI that needs to displayed or you can provide the entire HTML Source to be displayed by assigning an instance of UrlWebViewSource to the Source Property of the control. From an MVVM … Continue reading Binding Navigated Event in WebView Control