title: Changing VisualState of a control by binding it with some property of ViewModel
body: <p>Considering the code below:</p>
  
  <pre><code> xmlns:interactivity="clr-namespace:Microsoft.Expression.Interactivity;assembly=Microsoft.Expression.Interactivity"
  
  ...
  
   &lt;ToggleButton IsChecked="{Binding Path=IsGlobalControllerAttached}" Command="{Binding Path=AttachDetachGlobalControllerAction}" ToolTip="{Binding Path=GlobalControllerToolTip}" Visibility="{Binding Path=CanApplyDateFilter, Converter={StaticResource bool2VisibilityConverter}}" Style="{StaticResource toolBarToggleButton}"&gt;
                  &lt;i:Interaction.Behaviors&gt;
                      &lt;ei:DataStateBehavior Binding="{Binding IsGlobalControllerCreated}" Value="true" TrueState="Normal" FalseState="Disabled" /&gt;
                  &lt;/i:Interaction.Behaviors&gt;
                  &lt;Image Source="../../Common/Images/pin.png"/&gt;
              &lt;/ToggleButton&gt;
  </code></pre>
  
  <p>I am trying to set VisualState of Toggle Button by binding it to some property in ViewModel.
  Here, I am not able to find the Microsoft.Expression.Interactivity.dll in the "Add Reference" list. I am using VS 2010. 
  What am i missing? Do i need to install Expression blend to get this dll?</p>
  
  <p>Also,
  Is there any other way to get the job done? ( Changing VisualState of a control by biding it with some property of ViewModel).</p>
  
  <p>Thanks for your interest.</p>