How to orient WrapPanel items within ItemsControl lists vertically and horizontally

Some prefer to display items contained inside a WPF WrapPanel so that they can be scrolled vertically, others prefer horizontal scrolling. This post shows how to do both, by way of some simple tweaks. Step 1: Create a new Visual Studio project Step 2: Create a ViewModel Create a ViewModel class which we use to …

Continue reading ‘How to orient WrapPanel items within ItemsControl lists vertically and horizontally’ »

Creating horizontal scrolling pages in HTML / CSS

A very short description of how to create horizontal scrolling pages using HTML and CSS style sheets. Original inspiration is from this YouTube tutorial by Todd Shelton, which I have even further simplified for my needs: https://www.youtube.com/watch?v=jXto4uITMCY At this point I am a total beginner in using CSS and do not fully understand all the …

Continue reading ‘Creating horizontal scrolling pages in HTML / CSS’ »

Handling mouse events in WPF / MVVM using MvvmLight Event Triggers

Step 1: Create a new WPF project Step 2: Install MVVM Light Select Tools > NuGet Package Manager At the prompt type: Step 3: Add event handling code See this link for reference https://www.technical-recipes.com/2016/using-relaycommand-icommand-to-handle-events-in-wpf-and-mvvm/ Right click your project folder and select Add > New Item > Class to add the following three classes: RelayCommand.cs EventRaiser.cs …

Continue reading ‘Handling mouse events in WPF / MVVM using MvvmLight Event Triggers’ »

Tracking events in desktop applications using Google Analytics

Google analytics is often associated with the recording and reporting of web page interactions, but it can easily be adapted to record user actions in a non-web desktop application too. This post helps you to get started, and assumes that you already have a Google account which you have used to create your own Analytics …

Continue reading ‘Tracking events in desktop applications using Google Analytics’ »