title: Silverlight/WPF: I Don't Want ICommand to Change Button's IsEnabled Property, Is this possible?
body: <p>So say I have a button (MyButton) that binds to:</p>
  
  <pre><code>public ICommand MyCommand { get; set; }
  </code></pre>
  
  <p>I register this command with:</p>
  
  <pre><code>MyCommand = new DelegateCommand&lt;object&gt;(DoSomething);
  </code></pre>
  
  <p>Now if I do</p>
  
  <pre><code>MyButton.IsEnabled = false;
  </code></pre>
  
  <p>It doesn't do anything, i.e., the button is still enabled. I know that the command is causing this to happen because if I remove the new delegatecommand code above then the button appears disabled.</p>
  
  <p>My questions are:<br/>
  1. Is there a way for me to tell this binding to a command not to mess with my button's IsEnabled<br/>
  2. Is there a way to change the visibility via only the commanding property (which would probably be the more correct way anyway)</p>
  
  <p>Thanks!!</p>