I want to do the same in WPF.  Why is it missing such functionality?