title: How can I pass a type as a converter parameter in Silverlight?
body: <p>Let's say I have a button whose IsEnabled property uses a binding, which checks if the button's DataContext is of an expected type. If the DataContext matches the type, the button is enabled; otherwise, it's disabled.</p>
  
  <p>In WPF, I can do this as follows:</p>
  
  <pre><code>IsEnabled="{Binding Converter={StaticResource isObjectOfTypeConverter}, ConverterParameter={x:Type Script:AstScriptProjectViewModel}}"
  </code></pre>
  
  <p>How can I do this in Silverlight, where x:Type isn't available?</p>
  
  <p>Thanks,</p>
  
  <p>-Craig</p>