Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Files/Helpers/ContextFlyoutItemHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
Glyph = "\uE739",
ShowInRecycleBin = true,
Command = currentInstanceViewModel.FolderSettings.ToggleLayoutModeGridViewLarge,
CommandParameter = true,
},
// Grid view medium
new ContextMenuFlyoutItemViewModel()
Expand All @@ -109,6 +110,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
Glyph = "\uF0E2",
ShowInRecycleBin = true,
Command = currentInstanceViewModel.FolderSettings.ToggleLayoutModeGridViewMedium,
CommandParameter = true,
},
// Grid view small
new ContextMenuFlyoutItemViewModel()
Expand All @@ -117,6 +119,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
Glyph = "\uE80A",
ShowInRecycleBin = true,
Command = currentInstanceViewModel.FolderSettings.ToggleLayoutModeGridViewSmall,
CommandParameter = true,
},
// Tiles view
new ContextMenuFlyoutItemViewModel()
Expand All @@ -125,6 +128,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
Glyph = "\uE15C",
ShowInRecycleBin = true,
Command = currentInstanceViewModel.FolderSettings.ToggleLayoutModeTiles,
CommandParameter = true,
},
// Details view
new ContextMenuFlyoutItemViewModel()
Expand All @@ -133,6 +137,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
Glyph = "\uE179",
ShowInRecycleBin = true,
Command = currentInstanceViewModel.FolderSettings.ToggleLayoutModeDetailsView,
CommandParameter = true,
},
// Column view
new ContextMenuFlyoutItemViewModel()
Expand All @@ -141,6 +146,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseLayoutMenuItems(Curren
Glyph = "\uE8C0",
ShowInRecycleBin = true,
Command = currentInstanceViewModel.FolderSettings.ToggleLayoutModeColumnView,
CommandParameter = true,
},
}
},
Expand Down