Skip to content

Commit 495d8f6

Browse files
authored
Fixing invalid operation exception when tabbing out of MaterialDesignTabRadioButton (#1072)
1 parent 0ecc70e commit 495d8f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.RadioButton.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
</Style>
219219

220220
<Style x:Key="MaterialDesignTabRadioButton" TargetType="{x:Type RadioButton}">
221-
<Setter Property="FocusVisualStyle" Value="{StaticResource MaterialDesignFocusVisual}"/>
221+
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
222222
<Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/>
223223
<Setter Property="Background" Value="Transparent"/>
224224
<Setter Property="BorderBrush" Value="{DynamicResource SecondaryAccentBrush}"/>

0 commit comments

Comments
 (0)