Extension to the base control lib for WPF