title: Setting Visibility using MVVM pattern in silverlight
body: <p>I take one grid in silverlight. Initially textbox2 is invisible. When I click on textbox1 we have to  visible  textbox2. I try it as belows:</p>
  
  <pre><code>&lt;TextBox x:Name="textbox1" SelectionChanged="txt1_SelectionChanged"/&gt;
  &lt;TextBox x:Name="textbox2 "  Visibility="Collapsed"/&gt;
  
  private void txt1_SelectionChanged(object sender, RoutedEventArgs e)
  {            
      textbox2 .Visibility = Visibility.Visible;
  }
  </code></pre>
  
  <p>It works fine.</p>
  
  <p>But I want to use MVVM pattern. So there I don't want to use eventHandler.
  So how to do that using MVVM pattern?</p>