How to create Apple MacOS like Scrollbar in WPF

Apple MacOS has beautiful rounded corner scrollbar and add to the UI experience you have while working on a MacOS machine. You can easily have similar scrollbar style for your WPF application to boost up your application's UI experience. If you wish to apply this scrollbar style application wide then…

Relay Command CanExecute() not working using MVVMLight Toolkit in WPF

WPF Application developers would be experiencing or would have observed that after updating MVVMLight Toolkit package to Version 5.0.0 or 5.0.1, RelayCommand - CanExecute() mechanism is not working anymore. This issue is been already reported by MVVMLight user on codeplex as Issue# 7659. As explained by…

Change background color of selected ListBoxItem - ListBox in WPF

Sharing small stuffs I figure out while working with WPF !! Originally when you select any item in a ListBox control in WPF, you will observe that the background color of item turns LightBlue (if not using some kind of theming mechanism). Also when the ListBox control is not in focus…

Understanding WPF Commands

Lately Microsoft have been using some of the well known design patterns to ease and furnish work of a programmer who choose to bang keyboards using .NET. One good example is WPF commands. Microsoft at MSDN on Commanding: Commanding is an input mechanism in Windows Presentation Foundation (WPF) which provides…