@@ -43,12 +43,10 @@ public GenericFileBrowser()
43
43
this . InitializeComponent ( ) ;
44
44
GFBPageName = GenericItemView ;
45
45
string env = Environment . ExpandEnvironmentVariables ( "%userprofile%" ) ;
46
-
47
- this . IsTextScaleFactorEnabled = true ;
48
46
var CoreTitleBar = CoreApplication . GetCurrentView ( ) . TitleBar ;
49
47
CoreTitleBar . ExtendViewIntoTitleBar = true ;
50
48
var titleBar = ApplicationView . GetForCurrentView ( ) . TitleBar ;
51
- titleBar . ButtonBackgroundColor = Color . FromArgb ( 100 , 255 , 255 , 255 ) ;
49
+ // titleBar.ButtonBackgroundColor = Color.FromArgb(100, 255, 255, 255);
52
50
titleBar . ButtonHoverBackgroundColor = Color . FromArgb ( 75 , 10 , 10 , 10 ) ;
53
51
titleBar . ButtonHoverBackgroundColor = Color . FromArgb ( 75 , 10 , 10 , 10 ) ;
54
52
ProgressBox . Visibility = Visibility . Collapsed ;
@@ -59,35 +57,35 @@ public GenericFileBrowser()
59
57
data = AllView ;
60
58
context = RightClickContextMenu ;
61
59
HeaderContextMenu = HeaderRightClickMenu ;
62
- Interact . Interaction . page = this ;
63
- OpenItem . Click += Interact . Interaction . OpenItem_Click ;
64
- ShareItem . Click += Interact . Interaction . ShareItem_Click ;
65
- DeleteItem . Click += Interact . Interaction . DeleteItem_Click ;
66
- RenameItem . Click += Interact . Interaction . RenameItem_Click ;
67
- CutItem . Click += Interact . Interaction . CutItem_Click ;
68
- CopyItem . Click += Interact . Interaction . CopyItem_ClickAsync ;
69
- AllView . RightTapped += Interact . Interaction . AllView_RightTapped ;
60
+ Interacts . Interaction . page = this ;
61
+ OpenItem . Click += Interacts . Interaction . OpenItem_Click ;
62
+ ShareItem . Click += Interacts . Interaction . ShareItem_Click ;
63
+ DeleteItem . Click += Interacts . Interaction . DeleteItem_Click ;
64
+ RenameItem . Click += Interacts . Interaction . RenameItem_Click ;
65
+ CutItem . Click += Interacts . Interaction . CutItem_Click ;
66
+ CopyItem . Click += Interacts . Interaction . CopyItem_ClickAsync ;
67
+ AllView . RightTapped += Interacts . Interaction . AllView_RightTapped ;
70
68
Back . Click += Navigation . NavigationActions . Back_Click ;
71
69
Forward . Click += Navigation . NavigationActions . Forward_Click ;
72
70
Refresh . Click += Navigation . NavigationActions . Refresh_Click ;
73
- AllView . DoubleTapped += Interact . Interaction . List_ItemClick ;
74
- Paste . Click += Interact . Interaction . PasteItem_ClickAsync ;
71
+ AllView . DoubleTapped += Interacts . Interaction . List_ItemClick ;
72
+ Paste . Click += Interacts . Interaction . PasteItem_ClickAsync ;
75
73
Clipboard . ContentChanged += Clipboard_ContentChanged ;
76
- CollisonLV . ItemClick += Interact . Interaction . CollisionLVItemClick ;
77
- ReplaceChoice . Click += Interact . Interaction . ReplaceChoiceClick ;
78
- SkipChoice . Click += Interact . Interaction . SkipChoiceClick ;
74
+ CollisonLV . ItemClick += Interacts . Interaction . CollisionLVItemClick ;
75
+ ReplaceChoice . Click += Interacts . Interaction . ReplaceChoiceClick ;
76
+ SkipChoice . Click += Interacts . Interaction . SkipChoiceClick ;
79
77
}
80
78
81
79
private void Clipboard_ContentChanged ( object sender , object e )
82
80
{
83
81
DataPackageView packageView = Clipboard . GetContent ( ) ;
84
82
if ( packageView . Contains ( StandardDataFormats . StorageItems ) )
85
83
{
86
- Interact . Interaction . PS . isEnabled = true ;
84
+ Interacts . Interaction . PS . isEnabled = true ;
87
85
}
88
86
else
89
87
{
90
- Interact . Interaction . PS . isEnabled = false ;
88
+ Interacts . Interaction . PS . isEnabled = false ;
91
89
}
92
90
}
93
91
0 commit comments