PreferenceRadioBox.xaml 657 B

12345678910111213
  1. <Border Grid.Row="${row}" Grid.Column="${column}" Height="50" Margin="10" BorderThickness="0.5" CornerRadius="6">
  2. <Border.BorderBrush>
  3. <Binding Path="Children[1].Stroke" ElementName="${element_key}"/>
  4. </Border.BorderBrush>
  5. </Border>
  6. <Border Grid.Row="${row}" Grid.Column="${column}" Height="50" Margin="10" CornerRadius="6" Opacity="0.2">
  7. <Border.Background>
  8. <Binding Path="Children[2].Fill" ElementName="${element_key}"/>
  9. </Border.Background>
  10. </Border>
  11. <local:MyRadioBox Grid.Row="${row}" Grid.Column="${column}" Checked="${check}" Height="50" Margin="20,10,10,10" x:Name="${element_key}">
  12. ${content}
  13. </local:MyRadioBox>