File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/Files.App/UserControls Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11641164
11651165 <!-- Adaptive Layout -->
11661166 <TextBlock
1167+ x:Name=" AdaptiveLayoutTextBlock"
11671168 Grid.Row=" 2"
11681169 Grid.Column=" 0"
11691170 VerticalAlignment=" Center"
1170- Text =" {x:Bind Commands.LayoutAdaptive.Label }"
1171- Visibility =" {x:Bind Commands.LayoutAdaptive.IsExecutable, Mode=OneWay }" />
1171+ x:Load =" {x:Bind Commands.LayoutAdaptive.IsExecutable, Mode=OneWay }"
1172+ Text =" {x:Bind Commands.LayoutAdaptive.Label }" />
11721173
11731174 <ToggleSwitch
1175+ x:Name=" AdaptiveLayoutToggleSwitch"
11741176 Grid.Row=" 2"
11751177 Grid.Column=" 1"
11761178 HorizontalAlignment=" Right"
1179+ x:Load=" {x:Bind Commands.LayoutAdaptive.IsExecutable, Mode=OneWay}"
11771180 AutomationProperties.Name=" {x:Bind Commands.LayoutAdaptive.AutomationName}"
11781181 IsEnabled=" {x:Bind Commands.LayoutAdaptive.IsExecutable, Mode=OneWay}"
11791182 IsOn=" {x:Bind Commands.LayoutAdaptive.IsOn, Mode=TwoWay}"
11801183 Rotation=" 1"
11811184 Style=" {StaticResource RightAlignedToggleSwitchStyle}"
1182- ToolTipService.ToolTip=" {x:Bind Commands.LayoutAdaptive.LabelWithHotKey, Mode=OneWay}"
1183- Visibility=" {x:Bind Commands.LayoutAdaptive.IsExecutable, Mode=OneWay}" />
1185+ ToolTipService.ToolTip=" {x:Bind Commands.LayoutAdaptive.LabelWithHotKey, Mode=OneWay}" />
11841186 </Grid >
11851187
11861188 </StackPanel >
You can’t perform that action at this time.
0 commit comments