I need to style some grouped radio buttons as toggle buttons like below, how to implement this in WinUi
Here is the question to do the same in WPF. Style WPF radio button as toggle button with correct IsEnabled behaviour
<StackPanel >
<RadioButtons Header="Options:" MaxColumns="3">
<RadioButton Content="Option 1" Checked="RadioButton_Checked" AutomationProperties.AutomationId="Option1RadioButton"/>
<RadioButton Content="Option 2" Checked="RadioButton_Checked" AutomationProperties.AutomationId="Option2RadioButton"/>
<RadioButton Content="Option 3" Checked="RadioButton_Checked" AutomationProperties.AutomationId="Option3RadioButton"/>
</RadioButtons>
</StackPanel>

This should work: