@@ -101,6 +101,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
101
101
Glyph = "\uE739 " ,
102
102
ShowInRecycleBin = true ,
103
103
Command = currentInstanceViewModel . FolderSettings . ToggleLayoutModeGridViewLarge ,
104
+ CommandParameter = true ,
104
105
} ,
105
106
// Grid view medium
106
107
new ContextMenuFlyoutItemViewModel ( )
@@ -109,6 +110,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
109
110
Glyph = "\uF0E2 " ,
110
111
ShowInRecycleBin = true ,
111
112
Command = currentInstanceViewModel . FolderSettings . ToggleLayoutModeGridViewMedium ,
113
+ CommandParameter = true ,
112
114
} ,
113
115
// Grid view small
114
116
new ContextMenuFlyoutItemViewModel ( )
@@ -117,6 +119,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
117
119
Glyph = "\uE80A " ,
118
120
ShowInRecycleBin = true ,
119
121
Command = currentInstanceViewModel . FolderSettings . ToggleLayoutModeGridViewSmall ,
122
+ CommandParameter = true ,
120
123
} ,
121
124
// Tiles view
122
125
new ContextMenuFlyoutItemViewModel ( )
@@ -125,6 +128,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
125
128
Glyph = "\uE15C " ,
126
129
ShowInRecycleBin = true ,
127
130
Command = currentInstanceViewModel . FolderSettings . ToggleLayoutModeTiles ,
131
+ CommandParameter = true ,
128
132
} ,
129
133
// Details view
130
134
new ContextMenuFlyoutItemViewModel ( )
@@ -133,6 +137,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
133
137
Glyph = "\uE179 " ,
134
138
ShowInRecycleBin = true ,
135
139
Command = currentInstanceViewModel . FolderSettings . ToggleLayoutModeDetailsView ,
140
+ CommandParameter = true ,
136
141
} ,
137
142
// Column view
138
143
new ContextMenuFlyoutItemViewModel ( )
@@ -141,6 +146,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
141
146
Glyph = "\uE8C0 " ,
142
147
ShowInRecycleBin = true ,
143
148
Command = currentInstanceViewModel . FolderSettings . ToggleLayoutModeColumnView ,
149
+ CommandParameter = true ,
144
150
} ,
145
151
}
146
152
} ,
0 commit comments