If you have a Multi Monitor setup in Windows and you want to open a WPF window in fullscreen in a specific monitor you have no native option, but it is quite simple to obtain such functionality. First of all you need to reference Winform assembly, because you need winform code to identify information for [...]
Continue reading about Open a windows in a specific monitor in full screen mode in a WPF application
In a previous article I deal on How To test ssl based wcf service and part of the solution is to create a self issued certificate and make it valid inserting generated certificate in Trusted Root Certification Authority. This operation makes that CA trusted and is an operation that is not so good if you [...]
Continue reading about Avoid WCF to test validity of HTTPS certificates
Wpf Design Time Data – An introduction Wpf and Design data, Use a concrete class If you followed the suggestion of my first couple of posts you should have a dedicated Design Time view model for each real View Model in your application so you can effectively use Design Time Data. You should be aware [...]
DataGrid is one of the most annoying control in WPF because it sometimes has really different behaviors from other controls. The very first problem is that inside DataGridColumns the DataContext is not what you expect. Suppose you have this simple scenario in MVVM: an ObservableCollection of Objects, each one has IsSelected property and you want [...]
The approach to Design Time data shown in previous post is really quick and useful for simple View Models, but in complex application it starts to have some drawback. One of the main problem is remembering the exact syntax to declare object in XAML; when View Models became complex you start to have ObservableCollection of [...]
Continue reading about Wpf And design time data part 2–Use a concrete class


