Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 31st, 2012  |  syntax: None  |  size: 0.33 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. loading different user control based on radio button selection using xaml
  2. Visibility="{Binding Path=IsMyControlVisible, Converter={StaticResource BooleanToVisibilityConverter}}"
  3.        
  4. IsChecked="{Binding IsMyControlVisible, Mode=OneWayToSource, FallbackValue=false }"
  5.        
  6. DataContext="{Binding RelativeSource={RelativeSource Self}}"