要实现RadioButton只要将需要单选的所有的RadioButton的GroupName属性设成同一个名字。
<RadioButton Margin="53,0,0,0" VerticalAlignment="Center" GroupName="SelectedItem" />
<RadioButton Margin="53,0,0,0" VerticalAlignment="Center" GroupName="SelectedItem" />
<RadioButton Margin="53,0,0,0" VerticalAlignment="Center" GroupName="SelectedItem" />
RadioButton单选
时间: 2024-10-11 10:55:25