File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public App()
35
35
/// <param name="e">Details about the launch request and process.</param>
36
36
protected override void OnLaunched ( LaunchActivatedEventArgs e )
37
37
{
38
- #if WINAPPSDK
38
+ #if WINDOWS_WINAPPSDK
39
39
currentWindow = new Window ( ) ;
40
40
currentWindow . Title = "Toolkit Labs Gallery" ;
41
41
currentWindow . AppWindow . SetIcon ( "Assets/Icon.ico" ) ;
Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
- #if WINAPPSDK
5
+ #if WINDOWS_WINAPPSDK
6
6
using System . Runtime . InteropServices ;
7
7
using WinRT . Interop ;
8
8
using Microsoft . UI ;
Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
- #if WINAPPSDK
5
+ #if WINDOWS_WINAPPSDK
6
6
using Microsoft . UI ;
7
7
using Microsoft . UI . Windowing ;
8
8
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ private void TitleBar_SizeChanged(object sender, SizeChangedEventArgs e)
109
109
VisualStateManager . GoToState ( this , WideState , true ) ;
110
110
}
111
111
112
- #if WINAPPSDK
112
+ #if WINDOWS_WINAPPSDK
113
113
SetDragRegionForCustomTitleBar ( ) ;
114
114
#endif
115
115
}
@@ -129,7 +129,7 @@ private void Configure()
129
129
#if WINDOWS_UWP && ! HAS_UNO
130
130
SetUWPTitleBar ( ) ;
131
131
#endif
132
- #if WINAPPSDK
132
+ #if WINDOWS_WINAPPSDK
133
133
SetWASDKTitleBar ( ) ;
134
134
#endif
135
135
}
@@ -139,7 +139,7 @@ public void Reset()
139
139
#if WINDOWS_UWP && ! HAS_UNO
140
140
ResetUWPTitleBar ( ) ;
141
141
#endif
142
- #if WINAPPSDK
142
+ #if WINDOWS_WINAPPSDK
143
143
ResetWASDKTitleBar ( ) ;
144
144
#endif
145
145
}
@@ -185,7 +185,7 @@ private void Update()
185
185
VisualStateManager . GoToState ( this , FooterCollapsedState , true ) ;
186
186
}
187
187
188
- #if WINAPPSDK
188
+ #if WINDOWS_WINAPPSDK
189
189
SetDragRegionForCustomTitleBar ( ) ;
190
190
#endif
191
191
}
You can’t perform that action at this time.
0 commit comments