Ejemplo n.º 1
0
        private static void OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            XComboBox owner = (XComboBox)d;

            owner.OnCommandChanged((ICommand)e.OldValue, (ICommand)e.NewValue);
        }
Ejemplo n.º 2
0
        private static void OnCommandTargetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            XComboBox owner = (XComboBox)d;

            owner.UpdateCanExecute();
        }