I have two switches, and I want one of them to be selected by default. I added IsChecked="true", but it does not work. I also tried installing it in the loading window.
But when I click the second option, and then select the first option, everything works fine.
It just does not appear on first boot.
<StackPanel Orientation="Vertical" Margin="0 3 0 0" Height="55">
<RadioButton IsChecked="True" Padding="1 1 0 10" Name="AutoSaveRadioButton">
<TextBlock Foreground="Black">Auto Save Test File</TextBlock>
</RadioButton>
<RadioButton Margin="0 1 0 0" Padding="1 1 3 1" Name="SaveFileTogetherRadioButton">
<TextBlock Foreground="Black">Save Test File & <LineBreak /> output file together</TextBlock>
</RadioButton>
</StackPanel>
source
share