For my Odroid U3 I wanted a default startup into a console login session to have the maximum amount of resources available but I also wanted a VNC Server configured so that I can start (and stop) a graphical session whenever I want.
View-first and ViewModel-first
The MVVM design pattern was developed by Microsoft as a variation of the Martin Fowler’s Presentation Model pattern – we’ll copy/paste here the short form of the motivations behind this pattern (the long form is available in the link above): It provides separation of concerns. It is a natural pattern for XAML platforms. It enables a developer-designer workflow. It increases application […]
Glow Window effect
Visual Studio has been recently rewritten in WPF and MEF: its Main Window has been heavily customized – the standard Non-Client Area has been removed and all the usual Windows features (caption, buttons, scrollbars, …) have been redefined. One of the cool features is the window border, which is “context-sensitive” (uses different colors depending on the […]
Click and Double Click on ListView items
Sometimes in WPF the easiest things seem to be the hardest to obtain… if you want to get them the clean way. The ListView object is a great, flexible control available in WPF and gives you something more than the old, good ListBox. In particular, the ListView is able to render items in “grid mode” using the View property. The View property can be instantiated with a GridView object in which […]