Example #1
0
        private static void OnCommandViewModelChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            var self  = d as FrameworkElement;
            var value = e.NewValue as ViewModel;

            if (self != null && value != null)
            {
                WPFHelper.ApplyIsBusyBehaviour(self, value);
            }
        }