|
643 | 643 | AutomationProperties.Name="{x:Bind Commands.LayoutDetails.AutomationName}"
|
644 | 644 | Command="{x:Bind Commands.LayoutDetails}"
|
645 | 645 | CornerRadius="{StaticResource ControlCornerRadius}"
|
| 646 | + GroupName="LayoutRadio" |
646 | 647 | IsChecked="{x:Bind Commands.LayoutDetails.IsOn, Mode=OneWay}"
|
647 | 648 | Style="{StaticResource DefaultToggleButtonStyle}"
|
648 | 649 | ToolTipService.ToolTip="{x:Bind Commands.LayoutDetails.LabelWithHotKey, Mode=OneWay}">
|
|
674 | 675 | AutomationProperties.Name="{x:Bind Commands.LayoutTiles.AutomationName}"
|
675 | 676 | Command="{x:Bind Commands.LayoutTiles}"
|
676 | 677 | CornerRadius="{StaticResource ControlCornerRadius}"
|
| 678 | + GroupName="LayoutRadio" |
677 | 679 | IsChecked="{x:Bind Commands.LayoutTiles.IsOn, Mode=OneWay}"
|
678 | 680 | Style="{StaticResource DefaultToggleButtonStyle}"
|
679 | 681 | ToolTipService.ToolTip="{x:Bind Commands.LayoutTiles.LabelWithHotKey, Mode=OneWay}">
|
|
705 | 707 | AutomationProperties.Name="{x:Bind Commands.LayoutGridSmall.AutomationName}"
|
706 | 708 | Command="{x:Bind Commands.LayoutGridSmall}"
|
707 | 709 | CornerRadius="{StaticResource ControlCornerRadius}"
|
| 710 | + GroupName="LayoutRadio" |
708 | 711 | IsChecked="{x:Bind Commands.LayoutGridSmall.IsOn, Mode=OneWay}"
|
709 | 712 | Style="{StaticResource DefaultToggleButtonStyle}"
|
710 | 713 | ToolTipService.ToolTip="{x:Bind Commands.LayoutGridSmall.LabelWithHotKey, Mode=OneWay}">
|
|
736 | 739 | AutomationProperties.Name="{x:Bind Commands.LayoutGridMedium.AutomationName}"
|
737 | 740 | Command="{x:Bind Commands.LayoutGridMedium}"
|
738 | 741 | CornerRadius="{StaticResource ControlCornerRadius}"
|
| 742 | + GroupName="LayoutRadio" |
739 | 743 | IsChecked="{x:Bind Commands.LayoutGridMedium.IsOn, Mode=OneWay}"
|
740 | 744 | Style="{StaticResource DefaultToggleButtonStyle}"
|
741 | 745 | ToolTipService.ToolTip="{x:Bind Commands.LayoutGridMedium.LabelWithHotKey, Mode=OneWay}">
|
|
777 | 781 | AutomationProperties.Name="{x:Bind Commands.LayoutGridLarge.AutomationName}"
|
778 | 782 | Command="{x:Bind Commands.LayoutGridLarge}"
|
779 | 783 | CornerRadius="{StaticResource ControlCornerRadius}"
|
| 784 | + GroupName="LayoutRadio" |
780 | 785 | IsChecked="{x:Bind Commands.LayoutGridLarge.IsOn, Mode=OneWay}"
|
781 | 786 | Style="{StaticResource DefaultToggleButtonStyle}"
|
782 | 787 | ToolTipService.ToolTip="{x:Bind Commands.LayoutGridLarge.LabelWithHotKey, Mode=OneWay}">
|
|
808 | 813 | AutomationProperties.Name="{x:Bind Commands.LayoutColumns.AutomationName}"
|
809 | 814 | Command="{x:Bind Commands.LayoutColumns}"
|
810 | 815 | CornerRadius="{StaticResource ControlCornerRadius}"
|
| 816 | + GroupName="LayoutRadio" |
811 | 817 | IsChecked="{x:Bind Commands.LayoutColumns.IsOn, Mode=OneWay}"
|
812 | 818 | Style="{StaticResource DefaultToggleButtonStyle}"
|
813 | 819 | ToolTipService.ToolTip="{x:Bind Commands.LayoutColumns.LabelWithHotKey, Mode=OneWay}">
|
|
894 | 900 | Grid.Column="1"
|
895 | 901 | HorizontalAlignment="Right"
|
896 | 902 | AutomationProperties.Name="{x:Bind Commands.LayoutAdaptive.AutomationName}"
|
897 |
| - IsOn="{x:Bind Commands.LayoutAdaptive.IsOn, Mode=OneWay}" |
| 903 | + IsOn="{x:Bind Commands.LayoutAdaptive.IsOn, Mode=TwoWay}" |
898 | 904 | Rotation="1"
|
899 | 905 | Style="{StaticResource RightAlignedToggleSwitchStyle}"
|
900 |
| - ToolTipService.ToolTip="{x:Bind Commands.LayoutAdaptive.LabelWithHotKey, Mode=OneWay}"> |
901 |
| - <i:Interaction.Behaviors> |
902 |
| - <icore:EventTriggerBehavior EventName="Toggled"> |
903 |
| - <icore:InvokeCommandAction Command="{x:Bind Commands.LayoutAdaptive}" /> |
904 |
| - </icore:EventTriggerBehavior> |
905 |
| - </i:Interaction.Behaviors> |
906 |
| - </ToggleSwitch> |
| 906 | + ToolTipService.ToolTip="{x:Bind Commands.LayoutAdaptive.LabelWithHotKey, Mode=OneWay}" /> |
907 | 907 |
|
908 | 908 | </Grid>
|
909 | 909 |
|
|
0 commit comments