@@ -658,7 +658,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
658
658
Tag = "OpenWith" ,
659
659
CollapseLabel = true ,
660
660
ShowInSearchPage = true ,
661
- ShowItem = selectedItems . All ( i => ( i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . File && ! i . IsShortcut && ! i . IsExecutable ) || ( i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder && i . IsArchive ) ) ,
661
+ ShowItem = selectedItems . All ( i => ( i . PrimaryItemAttribute == StorageItemTypes . File && ! i . IsShortcut && ! i . IsExecutable ) || ( i . PrimaryItemAttribute == StorageItemTypes . Folder && i . IsArchive ) ) ,
662
662
} ,
663
663
new ContextMenuFlyoutItemViewModel ( )
664
664
{
@@ -675,7 +675,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
675
675
}
676
676
} ,
677
677
ShowInSearchPage = true ,
678
- ShowItem = selectedItems . All ( i => ( i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . File && ! i . IsShortcut && ! i . IsExecutable ) || ( i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder && i . IsArchive ) ) ,
678
+ ShowItem = selectedItems . All ( i => ( i . PrimaryItemAttribute == StorageItemTypes . File && ! i . IsShortcut && ! i . IsExecutable ) || ( i . PrimaryItemAttribute == StorageItemTypes . Folder && i . IsArchive ) ) ,
679
679
} ,
680
680
new ContextMenuFlyoutItemViewModel ( )
681
681
{
@@ -688,10 +688,10 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
688
688
new ContextMenuFlyoutItemViewModel ( )
689
689
{
690
690
Text = "BaseLayoutItemContextFlyoutOpenInNewPane/Text" . GetLocalizedResource ( ) ,
691
- Glyph = "\uE117 " ,
691
+ Glyph = "\xF117 " ,
692
692
GlyphFontFamilyName = "CustomGlyph" ,
693
693
Command = commandsViewModel . OpenDirectoryInNewPaneCommand ,
694
- ShowItem = userSettingsService . PreferencesSettingsService . IsDualPaneEnabled && selectedItems . All ( i => i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder ) ,
694
+ ShowItem = userSettingsService . PreferencesSettingsService . IsDualPaneEnabled && selectedItems . All ( i => i . PrimaryItemAttribute == StorageItemTypes . Folder ) ,
695
695
SingleItemOnly = true ,
696
696
ShowInSearchPage = true ,
697
697
ShowInFtpPage = true ,
@@ -703,7 +703,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
703
703
Glyph = "\uF113 " ,
704
704
GlyphFontFamilyName = "CustomGlyph" ,
705
705
Command = commandsViewModel . OpenDirectoryInNewTabCommand ,
706
- ShowItem = selectedItems . Count < 5 && selectedItems . All ( i => i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder ) ,
706
+ ShowItem = selectedItems . Count < 5 && selectedItems . All ( i => i . PrimaryItemAttribute == StorageItemTypes . Folder ) ,
707
707
ShowInSearchPage = true ,
708
708
ShowInFtpPage = true ,
709
709
ShowInZipPage = true ,
@@ -713,7 +713,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(BaseLayo
713
713
Text = "BaseLayoutItemContextFlyoutOpenInNewWindow/Text" . GetLocalizedResource ( ) ,
714
714
Glyph = "\uE737 " ,
715
715
Command = commandsViewModel . OpenInNewWindowItemCommand ,
716
- ShowItem = selectedItems . Count < 5 && selectedItems . All ( i => i . PrimaryItemAttribute == Windows . Storage . StorageItemTypes . Folder ) ,
716
+ ShowItem = selectedItems . Count < 5 && selectedItems . All ( i => i . PrimaryItemAttribute == StorageItemTypes . Folder ) ,
717
717
ShowInSearchPage = true ,
718
718
ShowInFtpPage = true ,
719
719
ShowOnShift = true ,
0 commit comments