title: How to data bind to a static property on a non-static class?
body: <p>In my <code>ViewModel</code> class I have a static property <code>AllSupport</code> but I can't figure out how to bind it correctly. The ListView is already binded to an ObservableCollection <code>AllEffects</code> that has the <code>AllSupport</code> static property.</p>
  
  <p>I used this:</p>
  
  <pre><code>&lt;GridViewColumn
      Width="Auto"
      Header="GPU"&gt;
      &lt;GridViewColumn.CellTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;CheckBox
                  Margin="0"
                  HorizontalAlignment="Center"
                  IsChecked="{Binding AllSupport[HardwareType].SupportList.IsSupported, Mode=TwoWay}"/&gt;
          &lt;/DataTemplate&gt;
      &lt;/GridViewColumn.CellTemplate&gt;
  &lt;/GridViewColumn&gt;
  </code></pre>
  
  <p><code>AllEffects</code> is <code>ObservableCollection</code> of <code>EffectViewModel</code> where it has a static property called <code>AllSupport</code> which is of type:
  <code>Dictionary&lt;HardwareType, List&lt;EffectSupport&gt;&gt;</code> where:</p>
  
  <p><code>HardwareType</code> is an enum, and
  <code>EffectSupport</code> is an instance class that has a boolean property called <code>IsSupported</code>.</p>
  
  <p>I also tried this but then it complains that it can't find <code>IsSupported</code> on the <code>ViewModel</code> class:</p>
  
  <pre><code>IsChecked="{Binding AllSupport[HardwareType].SupportList, Path=IsSupported
  </code></pre>
  
  <p>Any ideas, how to specify this binding?</p>