1. Modern UI with MahApps.Metro

    As a MahApps.Metro member I’am often confronted with questions like: …


  2. How to set the scrolling lines for a WPF ListBox?

    The default behavior for scrolling with the mouse wheel on a ListBox or ListView scrolls the entire view 3 lines up or down. That’s for the most scenarios ok, but sometimes it could be necessary to scroll only 1 or n lines. But there is no property to set this and the ScrollViewer can not be accessed. …


  3. How to make the ToolTip follow the mouse?

    In a project of mine I needed a ToolTip. That’s easy, I know, but I want a ToolTip that follows the mouse and not the default behavior. Normally a ToolTip opens and stays at this position on the target element. After leaving the element the ToolTip closes. …


  4. Logitech K400 and Raspberry Pi

    Sometimes the debian wheezy raspbian image, Raspbmc and XBian can’t find my Logitech K400 keyboard. This tip should help. …


  5. Set the default gcc version on a Raspberry Pi

    My first experience with my Raspberry Pi was to compile some stuff. I needed an older gcc version than was pre-installed on wheezy. Installation wasn’t the problem, the problem was to use the right gcc version. After searching the web I found a helper script created by Jeff Carr-3. …


  6. Generate WPF ListView columns automatically

    Sometimes it’s not necessary to display a list of elements with a DataGrid, for a simple short way we can use the lighter ListView. My solution, also posted at stackoverflow, generates a ListView with columns for all properties with a given datatype automatically. …