Exemplo n.º 1
0
 protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes)
 {
     return(DeletePropertyDefCommand.CanExecute(nodes));
 }
Exemplo n.º 2
0
 protected override bool CanExecute(Context ctx)
 {
     return(ctx.ReferenceSegment.IsLocalTarget &&
            DeletePropertyDefCommand.CanExecute(ctx.Nodes));
 }
Exemplo n.º 3
0
 void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = DeletePropertyDefCommand.CanExecute(MainWindow.Instance.SelectedNodes);
 }