Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump WinAppSDK to 1.6 #24266

Merged
merged 66 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
9c8c2cb
Bump WinAppSDK version + WebView2 version
Aug 15, 2024
c30ee86
Add WebView2 ref to Controls.Core
Aug 15, 2024
b406e46
Add another package ref
Aug 15, 2024
f4b78e8
Merge branch 'net9.0' into foda/winappsdk16
Foda Aug 20, 2024
2614bf1
Bump SDK versions
Aug 21, 2024
e32e613
Bump winappsdk version
Aug 22, 2024
e2fc4dd
Merge branch 'net9.0' into foda/winappsdk16
Aug 22, 2024
800c9f3
Add missing package ref
Aug 22, 2024
021a85d
Update NuGet.config
mattleibow Aug 23, 2024
d783b46
Update Directory.Build.props
mattleibow Aug 23, 2024
47470c9
Use SDK v38
Aug 23, 2024
9c1b25d
Remove refs to WebView2, use `WindowsAppSDK`
Aug 23, 2024
80b334d
Add more package refs
Aug 27, 2024
21f360a
Use the correct way to check for a window style (see: OverlappedPrese…
Aug 29, 2024
2930d70
More pkgs for webview
Aug 29, 2024
dad501d
Mark test as unstable
Aug 30, 2024
47a7672
TEST: add monitor info for test context
Sep 3, 2024
4a4c24e
Revert change, try manually setting button height...?!
Sep 3, 2024
73e1703
Move style
Sep 3, 2024
90f19b4
Revert change
Sep 4, 2024
73dd204
Merge branch 'net9.0' into foda/winappsdk16
Foda Sep 4, 2024
f935087
Ensure more fonts are consistant
Sep 4, 2024
cd83a0d
Merge branch 'foda/winappsdk16' of https://github.com/dotnet/maui int…
Sep 4, 2024
9f4226b
Bump SDK version
Sep 5, 2024
402894f
Update images for tests
Sep 5, 2024
26af5cf
Update more images
Sep 6, 2024
fd29bdb
Huh
Sep 6, 2024
b8f5bd6
Maybe fix crashes
Sep 6, 2024
ce159ff
Remove package from test cases
Sep 9, 2024
a12e994
ugh
Sep 9, 2024
5051266
www
Sep 9, 2024
2bb2441
Ehh
Sep 9, 2024
85a32e1
Changes for AOT
Sep 11, 2024
dc4c3b9
Font test
Sep 12, 2024
d8134fa
Test font again
Sep 12, 2024
a31358a
Remove refs to winappsdk where it's not needed
Sep 24, 2024
9bb0d45
Fix some missing refs
Sep 24, 2024
c1963b0
Remove winappsdk ref in graphics projects
Sep 24, 2024
f9c8ef2
Add explcit "Microsoft.Windows.SDK.NET.Ref" versions
Sep 24, 2024
b8e170f
NOP failing test
Sep 25, 2024
4c405b1
- publish binlogs
PureWeen Sep 25, 2024
b2fee4b
- fix logs
PureWeen Sep 26, 2024
9080a5f
Update maui-templates.yml
PureWeen Sep 26, 2024
bc77e0d
Fix issue w/ dupe package contents
Sep 30, 2024
3f7d8e8
Merge branch 'foda/winappsdk16' of https://github.com/dotnet/maui int…
Sep 30, 2024
2515b69
Throwing stuff at the wall
Oct 1, 2024
876e382
Update winsdk and dotnet versions
Oct 1, 2024
39452a8
Revert SDK version
Oct 2, 2024
04cdc17
Merge branch 'net9.0' into foda/winappsdk16
Foda Oct 2, 2024
c54157a
Modify AOT compat check
Oct 2, 2024
1a1c57c
Merge branch 'foda/winappsdk16' of https://github.com/dotnet/maui int…
Oct 2, 2024
85f1aee
Re-add SDK.NET.Ref
Oct 3, 2024
b067735
Re-bump winappsdk version
Oct 3, 2024
ff134ab
Fix SDK pack version
Oct 3, 2024
5b797a0
Merge branch 'net9.0' into foda/winappsdk16
Foda Oct 3, 2024
a1c351a
Fix nested partial types
Oct 3, 2024
5af4206
Merge branch 'foda/winappsdk16' of https://github.com/dotnet/maui int…
Oct 3, 2024
09e1af4
DOh
Oct 3, 2024
b0381c9
Update test image
Oct 4, 2024
17ee733
Merge branch 'net9.0' into foda/winappsdk16
rmarinho Oct 4, 2024
bc60ef6
Update Directory.Build.targets
rmarinho Oct 5, 2024
237f4fa
Remove dupe properties
Oct 7, 2024
79c7d7a
Remove work-around
Oct 7, 2024
eff3a43
Fix merge issues
Oct 7, 2024
e122733
WTF?
Oct 7, 2024
d29d1cf
Blah
Oct 7, 2024
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
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ updates:
- "Microsoft.Graphics.Win2D"
- "Microsoft.Windows.SDK.BuildTools"
- "Microsoft.WindowsAppSDK"
- "Microsoft.Web.WebView2"
xunit:
patterns:
- "xunit"
Expand All @@ -57,7 +58,7 @@ updates:
- dependency-name: "Newtonsoft.Json" # needs to be done manually to match VS
- dependency-name: "Microsoft.Build*" # these packages neet to be kept on old version that supports netstandard2.0
- dependency-name: "Selenium.*" # needs to be done manually because other packages need to be compiled with these new versions

labels:
- "nuget"
- "dependencies"
Expand Down
13 changes: 9 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<Import Condition="'$(EnvironmentBuildPropsImported)' != 'True'" Project="$(MSBuildThisFileDirectory)eng\Environment.Build.props" />

<PropertyGroup>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -43,13 +43,13 @@
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>moderate</NuGetAuditLevel>
</PropertyGroup>

<PropertyGroup>
<_MauiDotNetVersionMajor Condition="'$(_MauiDotNetVersionMajor)' == ''">9</_MauiDotNetVersionMajor>
<_MauiDotNetVersionMinor Condition="'$(_MauiDotNetVersionMinor)' == ''">0</_MauiDotNetVersionMinor>
<_MauiDotNetVersion Condition="'$(_MauiDotNetVersion)' == ''">$(_MauiDotNetVersionMajor).$(_MauiDotNetVersionMinor)</_MauiDotNetVersion>
<_MauiDotNetTfm Condition="'$(_MauiDotNetTfm)' == ''">net$(_MauiDotNetVersion)</_MauiDotNetTfm>

<_MauiPreviousDotNetVersionMajor Condition="'$(_MauiPreviousDotNetVersionMajor)' == ''">8</_MauiPreviousDotNetVersionMajor>
<_MauiPreviousDotNetVersionMinor Condition="'$(_MauiPreviousDotNetVersionMinor)' == ''">0</_MauiPreviousDotNetVersionMinor>
<_MauiPreviousDotNetVersion Condition="'$(_MauiPreviousDotNetVersion)' == ''">$(_MauiPreviousDotNetVersionMajor).$(_MauiPreviousDotNetVersionMinor)</_MauiPreviousDotNetVersion>
Expand Down Expand Up @@ -127,6 +127,11 @@
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
</PropertyGroup>

<!-- Windows specific settings -->
<PropertyGroup Condition="'$(_MauiTargetPlatformIsWindows)' == 'True'">
<WindowsSdkPackageVersion>10.0.19041.44</WindowsSdkPackageVersion>
</PropertyGroup>

<!-- version number information -->
<PropertyGroup>
<!-- Default versions from the SDKs (update when there is a new TFM version) -->
Expand Down Expand Up @@ -221,7 +226,7 @@
<_MauiBuildTasksLocation>$(_MauiBuildTasksLocation)</_MauiBuildTasksLocation>
<_MauiBuildTasksLocation Condition="'$(_MauiBuildTasksLocation)' == ''">$(MSBuildThisFileDirectory).buildtasks\</_MauiBuildTasksLocation>
<_MauiAOTProfileLocation>$(MauiSrcDirectory)Controls\src\Build.Tasks\nuget\buildTransitive\netstandard2.0\</_MauiAOTProfileLocation>
<StrongNamerKeyFile>$(MauiRootDirectory)eng/microsoft.maui.controls.snk</StrongNamerKeyFile>
<StrongNamerKeyFile>$(MauiRootDirectory)eng/microsoft.maui.controls.snk</StrongNamerKeyFile>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<ProduceReferenceAssembly Condition="'$(UsingMicrosoftNETSdk)' == 'True' AND '$(Configuration)' == 'Debug'">True</ProduceReferenceAssembly>
<ProduceReferenceAssemblyInOutDir>True</ProduceReferenceAssemblyInOutDir>
Expand Down
7 changes: 2 additions & 5 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
<TargetPlatformMinVersion>6.5</TargetPlatformMinVersion>
</PropertyGroup>

<!--
NOTE: The Contains('-windows10') is a bit of a hack
<!--
NOTE: The Contains('-windows10') is a bit of a hack
because we don't want to set these properties for WPF projects...
There's probably a better way we should find to infer this
-->
Expand All @@ -83,9 +83,6 @@
<ItemGroup Condition=" '$(_MauiTargetPlatformIsWindows)' == 'True' AND '$(IncludeWindowsSDKRefFrameworkReferences)' == 'True'">
<FrameworkReference Include="Microsoft.Windows.SDK.NET.Ref" IsImplicitlyDefined="true" Pack="false" PrivateAssets="All" />
</ItemGroup>
<PropertyGroup>
<WindowsSdkPackageVersion>10.0.19041.34</WindowsSdkPackageVersion>
</PropertyGroup>

<!--
Workaround for https://github.com/microsoft/WindowsAppSDK/issues/2684
Expand Down
9 changes: 5 additions & 4 deletions eng/NuGetVersions.targets
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@
Version="$(MicrosoftWindowsAppSDKPackageVersion)"
NoWarn="NU1605"
/>
<PackageReference
Update="Microsoft.Web.WebView2"
Version="$(MicrosoftWindowsWebView2PackageVersion)"
NoWarn="NU1605"
/>
<PackageReference
Update="Microsoft.Windows.SDK.BuildTools"
Version="$(MicrosoftWindowsSDKBuildToolsPackageVersion)"
Expand Down Expand Up @@ -254,10 +259,6 @@
Update="Microsoft.Bcl.AsyncInterfaces"
Version="$(MicrosoftBclAsyncInterfacesPackageVersion)"
/>
<PackageReference
Update="Microsoft.Web.WebView2"
Version="$(_MicrosoftWebWebView2Version)"
/>
<PackageReference
Update="Microsoft.CodeAnalysis.PublicApiAnalyzers"
Version="$(MicrosoftCodeAnalysisPublicApiAnalyzersVersion)"
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@
<MicrosoftNETWorkloadEmscriptenCurrentManifest90100TransportVersion>9.0.0-rtm.24469.1</MicrosoftNETWorkloadEmscriptenCurrentManifest90100TransportVersion>
<MicrosoftNETWorkloadEmscriptenPackageVersion>$(MicrosoftNETWorkloadEmscriptenCurrentManifest90100TransportVersion)</MicrosoftNETWorkloadEmscriptenPackageVersion>
<!-- wasdk -->
<MicrosoftWindowsAppSDKPackageVersion>1.5.240802000</MicrosoftWindowsAppSDKPackageVersion>
<MicrosoftWindowsAppSDKPackageVersion>1.6.240923002</MicrosoftWindowsAppSDKPackageVersion>
<MicrosoftWindowsSDKBuildToolsPackageVersion>10.0.22621.756</MicrosoftWindowsSDKBuildToolsPackageVersion>
<MicrosoftGraphicsWin2DPackageVersion>1.2.0</MicrosoftGraphicsWin2DPackageVersion>
<MicrosoftWindowsWebView2PackageVersion>1.0.2792.45</MicrosoftWindowsWebView2PackageVersion>
<!-- Everything else -->
<MicrosoftAspNetCoreAuthorizationPackageVersion>9.0.0-rtm.24501.7</MicrosoftAspNetCoreAuthorizationPackageVersion>
<MicrosoftAspNetCoreAuthenticationFacebookPackageVersion>9.0.0-rtm.24501.7</MicrosoftAspNetCoreAuthenticationFacebookPackageVersion>
Expand Down Expand Up @@ -106,7 +107,6 @@
<SystemIOUnmanagedMemoryStreamPackageVersion>4.3.0</SystemIOUnmanagedMemoryStreamPackageVersion>
<SystemObjectModelPackageVersion>4.3.0</SystemObjectModelPackageVersion>
<SystemRuntimeCompilerServicesUnsafePackageVersion>6.0.0</SystemRuntimeCompilerServicesUnsafePackageVersion>
<_MicrosoftWebWebView2Version>1.0.2592.51</_MicrosoftWebWebView2Version>
<!-- GLIDE - the android maven artifact in /src/Core/AndroidNative/maui/build.gradle -->
<!-- must be kept in sync with the binding library version to it here: -->
<_XamarinAndroidGlideVersion>4.16.0.6</_XamarinAndroidGlideVersion>
Expand Down
12 changes: 12 additions & 0 deletions eng/pipelines/common/maui-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@ jobs:
displayName: Run $(PLATFORM_NAME) templates build tests
workingDirectory: ${{ parameters.checkoutDirectory }}

- task: CopyFiles@2
displayName: Copy binlogs
inputs:
SourceFolder: '$(Build.SourcesDirectory)'
Contents: |
**/*.binlog
../**/*.binlog
../../**/*.binlog
TargetFolder: '$(Build.StagingDirectory)/IntegrationTestsBuildLogs'
continueOnError: true
condition: succeededOrFailed()

- task: PublishTestResults@2
displayName: Publish the $(PLATFORM_NAME) templates build tests
condition: always()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>$(_MauiDotNetTfm)-windows10.0.19041.0</TargetFramework>
<TargetFramework>$(_MauiDotNetTfm)-windows$(WindowsTargetFrameworkVersion)</TargetFramework>
<TargetPlatformMinVersion>10.0.17134.0</TargetPlatformMinVersion>
<RootNamespace>Microsoft.Maui.Controls.Compatibility.ControlGallery.WinUI</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
Expand All @@ -20,9 +20,6 @@
<ItemGroup Condition="'$(IncludeWindowsSDKRefFrameworkReferences)' == 'True'">
<FrameworkReference Include="Microsoft.Windows.SDK.NET.Ref" IsImplicitlyDefined="true" Pack="false" PrivateAssets="All" />
</ItemGroup>
<PropertyGroup>
<WindowsSdkPackageVersion>10.0.19041.34</WindowsSdkPackageVersion>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Core\Compatibility.ControlGallery.Core.csproj" />
Expand All @@ -39,6 +36,10 @@
</AppxManifest>
</ItemGroup>

<ItemGroup Condition="'$(IncludeWindowsSDKRefFrameworkReferences)' == 'True'">
<FrameworkReference Include="Microsoft.Windows.SDK.NET.Ref" IsImplicitlyDefined="true" Pack="false" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<Content Include="bank.png" />
<Content Include="calculator.png" />
Expand Down Expand Up @@ -110,7 +111,7 @@
<None Include="Compatibility\**\*.cs" />
<Compile Remove="Compatibility\**\*.cs" />
</ItemGroup>

<Import Project="$(MauiSrcDirectory)Maui.InTree.props" Condition=" '$(UseMaui)' != 'true' " />

</Project>
5 changes: 1 addition & 4 deletions src/Compatibility/Core/src/Compatibility.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<iOSRoot>iOS\</iOSRoot>
<WindowsRoot>Windows\</WindowsRoot>
<TizenRoot>Tizen\</TizenRoot>
<IsAotCompatible Condition="!$(TargetFramework.StartsWith('netstandard'))">true</IsAotCompatible>
<IsAotCompatible Condition="!$(TargetFramework.StartsWith('netstandard')) and $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != 'windows'">true</IsAotCompatible>
Foda marked this conversation as resolved.
Show resolved Hide resolved
<MauiGenerateResourceDesigner>true</MauiGenerateResourceDesigner>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591;CS0672;CS0618</NoWarn>
Expand Down Expand Up @@ -50,9 +50,6 @@
<Link>Windows\BootstrapHelper.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-windows')) == true ">
</ItemGroup>

<PropertyGroup>
<InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.Maui.Controls.Generated</InterceptorsPreviewNamespaces>
<!-- https://github.com/dotnet/msbuild/issues/9785 -->
Expand Down
10 changes: 4 additions & 6 deletions src/Controls/samples/Controls.Sample.Sandbox/MainPage.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<ContentPage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Maui.Controls.Sample.MainPage"
xmlns:local="clr-namespace:Maui.Controls.Sample">

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Maui.Controls.Sample.MainPage"
xmlns:local="clr-namespace:Maui.Controls.Sample">
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public class CellControl : ContentControl
public partial class CellControl : ContentControl
{
public static readonly DependencyProperty CellProperty = DependencyProperty.Register("Cell", typeof(object), typeof(CellControl),
new PropertyMetadata(null, (o, e) => ((CellControl)o).SetSource((Cell)e.OldValue, (Cell)e.NewValue)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public class EntryCellTextBox : TextBox
public partial class EntryCellTextBox : TextBox
{
protected override void OnKeyUp(KeyRoutedEventArgs e)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public class ListGroupHeaderPresenter : Microsoft.UI.Xaml.Controls.ContentPresenter
public partial class ListGroupHeaderPresenter : Microsoft.UI.Xaml.Controls.ContentPresenter
{
void OnTapped(object sender, TappedRoutedEventArgs tappedRoutedEventArgs)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public class ListViewGroupStyleSelector : GroupStyleSelector
public partial class ListViewGroupStyleSelector : GroupStyleSelector
{
protected override GroupStyle SelectGroupStyleCore(object group, uint level)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

namespace Microsoft.Maui.Controls.Handlers.Compatibility
{
public class ListViewRenderer : ViewRenderer<ListView, FrameworkElement>
public partial class ListViewRenderer : ViewRenderer<ListView, FrameworkElement>
{
public static PropertyMapper<ListView, ListViewRenderer> Mapper =
new PropertyMapper<ListView, ListViewRenderer>(VisualElementRendererMapper);
Expand All @@ -57,7 +57,7 @@ public ListViewRenderer() : base(Mapper, CommandMapper)
AutoPackage = false;
}

internal sealed class ListViewTransparent : WListView
internal sealed partial class ListViewTransparent : WListView
{
internal ListViewRenderer ListViewRenderer { get; }
public ListViewTransparent(ListViewRenderer listViewRenderer) : base()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Microsoft.Maui.Controls.Handlers.Compatibility
{
public class TableViewRenderer : ViewRenderer<TableView, Microsoft.UI.Xaml.Controls.ListView>
public partial class TableViewRenderer : ViewRenderer<TableView, Microsoft.UI.Xaml.Controls.ListView>
{
bool _ignoreSelectionEvent;
bool _disposed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Microsoft.Maui.Controls.Handlers.Compatibility
{
[Obsolete("Frame is obsolete as of .NET 9. Please use Border instead.")]
public class FrameRenderer : ViewRenderer<Frame, WBorder>
public partial class FrameRenderer : ViewRenderer<Frame, WBorder>
{
public static IPropertyMapper<Frame, FrameRenderer> Mapper
= new PropertyMapper<Frame, FrameRenderer>(VisualElementRendererMapper)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public class CaseConverter : Microsoft.UI.Xaml.Data.IValueConverter
public partial class CaseConverter : Microsoft.UI.Xaml.Data.IValueConverter
{
public bool ConvertToUpper { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public class CollapseWhenEmptyConverter : Microsoft.UI.Xaml.Data.IValueConverter
public partial class CollapseWhenEmptyConverter : Microsoft.UI.Xaml.Data.IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public sealed class ColorConverter : Microsoft.UI.Xaml.Data.IValueConverter
public sealed partial class ColorConverter : Microsoft.UI.Xaml.Data.IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public sealed class HeightConverter : Microsoft.UI.Xaml.Data.IValueConverter
public sealed partial class HeightConverter : Microsoft.UI.Xaml.Data.IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public class HorizontalTextAlignmentConverter : Microsoft.UI.Xaml.Data.IValueConverter
public partial class HorizontalTextAlignmentConverter : Microsoft.UI.Xaml.Data.IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Microsoft.Maui.Controls.Platform.Compatibility
{
public class KeyboardConverter : Microsoft.UI.Xaml.Data.IValueConverter
public partial class KeyboardConverter : Microsoft.UI.Xaml.Data.IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ protected override void UpdateItemsSource()
_ignorePlatformSelectionChange = false;
}

class SelectionModeConvert : Microsoft.UI.Xaml.Data.IValueConverter
partial class SelectionModeConvert : Microsoft.UI.Xaml.Data.IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Microsoft.Maui.Controls.Platform
{
public class ShellFlyoutItemView : ContentControl
public partial class ShellFlyoutItemView : ContentControl
{
public static readonly DependencyProperty IsSelectedProperty = DependencyProperty.Register(
nameof(IsSelected), typeof(bool), typeof(ShellFlyoutItemView),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Microsoft.Maui.Controls.Platform
{
public class ShellFlyoutTemplateSelector : Microsoft.UI.Xaml.Controls.DataTemplateSelector
public partial class ShellFlyoutTemplateSelector : Microsoft.UI.Xaml.Controls.DataTemplateSelector
{
Microsoft.UI.Xaml.DataTemplate BaseShellItemTemplate { get; }
Microsoft.UI.Xaml.DataTemplate MenuItemTemplate { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Microsoft.Maui.Controls.Platform
{
public class ShellFooterView : Microsoft.UI.Xaml.Controls.ContentControl
public partial class ShellFooterView : Microsoft.UI.Xaml.Controls.ContentControl
{
Shell _shell;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Microsoft.Maui.Controls.Platform
{
public class ShellHeaderView : UI.Xaml.Controls.ContentControl
public partial class ShellHeaderView : UI.Xaml.Controls.ContentControl
{
Shell _shell;

Expand Down
Loading
Loading