Open shelllet opened 1 year ago
<Button Grid.Row="0" Content="{x:Bind Header, Converter={StaticResource StringConverter}}"> <Button.Flyout> <MenuFlyout> <RadioMenuFlyoutItem x:Uid="InputFlyoutItem/Actions" Text="Actions" IsChecked="{x:Bind ActionChecked, Mode=TwoWay}" GroupName="SelectionGroup"/> <RadioMenuFlyoutItem x:Uid="InputFlyoutItem/Expression" Text="Expression" IsChecked="{x:Bind ExpressionChecked, Mode=TwoWay}" GroupName="SelectionGroup"/> <RadioMenuFlyoutItem x:Uid="InputFlyoutItem/Const" Text="Const" IsChecked="{x:Bind ConstChecked, Mode=TwoWay}" Visibility="{x:Bind ConstVisibility}" GroupName="SelectionGroup"/> <RadioMenuFlyoutItem x:Uid="InputFlyoutItem/FolderPicker" Text="Folder" IsChecked="{x:Bind FolderChecked, Mode=TwoWay}" Visibility="{x:Bind FolderVisibility}" GroupName="SelectionGroup"/> <RadioMenuFlyoutItem x:Uid="InputFlyoutItem/FilePicker" Text="File" IsChecked="{x:Bind FileChecked, Mode=TwoWay}" Visibility="{x:Bind FileVisibility}" GroupName="SelectionGroup"/> </MenuFlyout> </Button.Flyout> </Button>
when i create multiple button, and RadioMenuFlyoutItem exclusive globally.
1 create axml code like above.
exclusive every button
i create four button image score cls and filter text
image
score
cls
filter text
click clsbutton and select '常量'
and then click 'filter text ' button , select '常量' ,
the cls button ,'常量' is unchecked.
WinUI 3 - Windows App SDK 1.2 Preview 1: 1.2.0-preview1
Desktop
Windows 11 (22H2): Build 22621
https://user-images.githubusercontent.com/16729017/198026884-87db3597-4857-40ea-b4d8-f5317c4d8109.mp4
No response
any news?
Describe the bug
when i create multiple button, and RadioMenuFlyoutItem exclusive globally.
Steps to reproduce the bug
1 create axml code like above.
Expected behavior
exclusive every button
Screenshots
i create four button
image
score
cls
andfilter text
click
cls
button and select '常量'and then click 'filter text ' button , select '常量' ,
the
cls
button ,'常量' is unchecked.NuGet package version
WinUI 3 - Windows App SDK 1.2 Preview 1: 1.2.0-preview1
Windows app type
Device form factor
Desktop
Windows version
Windows 11 (22H2): Build 22621
Additional context
https://user-images.githubusercontent.com/16729017/198026884-87db3597-4857-40ea-b4d8-f5317c4d8109.mp4
No response