File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
src/Files.App/UserControls Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 791
791
<!-- Details -->
792
792
<StackPanel
793
793
x:Name=" DetailsView"
794
- x:Load= " {x:Bind ViewModel.IsDetailsLayout, Mode=OneWay} "
795
- Spacing= " 4 " >
794
+ Spacing= " 4 "
795
+ Visibility= " {x:Bind ViewModel.IsDetailsLayout, Mode=OneWay} " >
796
796
<Slider
797
797
x:Name=" DetailsViewSlider"
798
798
Padding=" 4,0,4,0"
857
857
<!-- List -->
858
858
<StackPanel
859
859
x:Name=" ListView"
860
- x:Load= " {x:Bind ViewModel.IsListLayout, Mode=OneWay} "
861
- Spacing= " 4 " >
860
+ Spacing= " 4 "
861
+ Visibility= " {x:Bind ViewModel.IsListLayout, Mode=OneWay} " >
862
862
<Slider
863
863
x:Name=" ListViewSlider"
864
864
Padding=" 4,0,4,0"
925
925
<!-- <Slider
926
926
x:Name="TilesViewSlider"
927
927
Padding="4,0,4,0"
928
- x:Load ="{x:Bind ViewModel.IsTilesLayout, Mode=OneWay}"
928
+ Visibility ="{x:Bind ViewModel.IsTilesLayout, Mode=OneWay}"
929
929
IsEnabled="False"
930
930
IsThumbToolTipEnabled="False" />-->
931
931
<StackPanel
932
932
x:Name=" TilesViewSizeInfo"
933
- x:Load=" {x:Bind ViewModel.IsTilesLayout, Mode=OneWay}"
934
933
Orientation=" Horizontal"
935
- Spacing=" 8" >
934
+ Spacing=" 8"
935
+ Visibility=" {x:Bind ViewModel.IsTilesLayout, Mode=OneWay}" >
936
936
<FontIcon FontFamily =" Segoe Fluent Icons" Glyph ="  " />
937
937
<TextBlock Text =" {helpers:ResourceString Name=TilesViewSizeInfo}" />
938
938
</StackPanel >
1013
1013
<!-- Columns -->
1014
1014
<StackPanel
1015
1015
x:Name=" ColumnsView"
1016
- x:Load= " {x:Bind ViewModel.IsColumnLayout, Mode=OneWay} "
1017
- Spacing= " 4 " >
1016
+ Spacing= " 4 "
1017
+ Visibility= " {x:Bind ViewModel.IsColumnLayout, Mode=OneWay} " >
1018
1018
<Slider
1019
1019
x:Name=" ColumnViewSlider"
1020
1020
Padding=" 4,0,4,0"
You can’t perform that action at this time.
0 commit comments