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()
3535 /// <param name="e">Details about the launch request and process.</param>
3636 protected override void OnLaunched ( LaunchActivatedEventArgs e )
3737 {
38- #if WINAPPSDK
38+ #if WINDOWS_WINAPPSDK
3939 currentWindow = new Window ( ) ;
4040 currentWindow . Title = "Toolkit Labs Gallery" ;
4141 currentWindow . AppWindow . SetIcon ( "Assets/Icon.ico" ) ;
Original file line number Diff line number Diff line change 22// The .NET Foundation licenses this file to you under the MIT license.
33// See the LICENSE file in the project root for more information.
44
5- #if WINAPPSDK
5+ #if WINDOWS_WINAPPSDK
66using System . Runtime . InteropServices ;
77using WinRT . Interop ;
88using Microsoft . UI ;
Original file line number Diff line number Diff line change 22// The .NET Foundation licenses this file to you under the MIT license.
33// See the LICENSE file in the project root for more information.
44
5- #if WINAPPSDK
5+ #if WINDOWS_WINAPPSDK
66using Microsoft . UI ;
77using Microsoft . UI . Windowing ;
88
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ private void TitleBar_SizeChanged(object sender, SizeChangedEventArgs e)
109109 VisualStateManager . GoToState ( this , WideState , true ) ;
110110 }
111111
112- #if WINAPPSDK
112+ #if WINDOWS_WINAPPSDK
113113 SetDragRegionForCustomTitleBar ( ) ;
114114#endif
115115 }
@@ -129,7 +129,7 @@ private void Configure()
129129#if WINDOWS_UWP && ! HAS_UNO
130130 SetUWPTitleBar ( ) ;
131131#endif
132- #if WINAPPSDK
132+ #if WINDOWS_WINAPPSDK
133133 SetWASDKTitleBar ( ) ;
134134#endif
135135 }
@@ -139,7 +139,7 @@ public void Reset()
139139#if WINDOWS_UWP && ! HAS_UNO
140140 ResetUWPTitleBar ( ) ;
141141#endif
142- #if WINAPPSDK
142+ #if WINDOWS_WINAPPSDK
143143 ResetWASDKTitleBar ( ) ;
144144#endif
145145 }
@@ -185,7 +185,7 @@ private void Update()
185185 VisualStateManager . GoToState ( this , FooterCollapsedState , true ) ;
186186 }
187187
188- #if WINAPPSDK
188+ #if WINDOWS_WINAPPSDK
189189 SetDragRegionForCustomTitleBar ( ) ;
190190#endif
191191 }
You can’t perform that action at this time.
0 commit comments