File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed
Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 1+ using Microsoft . Maui . Handlers ;
2+ using PlatformButtonView = object ;
3+
4+ namespace MauiContentButton ;
5+
6+ // All the code in this file is included in all platforms.
7+ public partial class ContentButtonHandler : ViewHandler < IContentButton , PlatformButtonView >
8+ {
9+ protected override PlatformButtonView CreatePlatformView ( ) => new ( ) ;
10+
11+ private static void MapPadding ( IContentButtonHandler handler , IContentButton view ) { }
12+
13+ private static void MapStrokeThickness ( IContentButtonHandler handler , IContentButton view ) { }
14+
15+ private static void MapStrokeColor ( IContentButtonHandler handler , IContentButton view ) { }
16+
17+ private static void MapCornerRadius ( IContentButtonHandler handler , IContentButton view ) { }
18+
19+ private static void MapContent ( IContentButtonHandler handler , IContentButton view ) { }
20+ }
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks >
4+ <TargetFrameworks >net8.0;net8.0 -android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks >
55 <TargetFrameworks Condition =" $([MSBuild]::IsOSPlatform('windows'))" >$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks >
66 <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
77 <!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
4141
4242 <ItemGroup >
4343 <PackageReference Include =" Microsoft.Maui.Controls" Version =" 8.0.90" />
44- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" PrivateAssets =" All" />
44+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" PrivateAssets =" All" />
4545 </ItemGroup >
4646
47+ <ItemGroup Condition =" '$(TargetFramework)' != 'net8.0'" >
48+ <Compile Remove =" **\**\*.standard.cs" />
49+ <None Include =" **\**\*.standard.cs" Exclude =" $(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
50+ </ItemGroup >
4751</Project >
You can’t perform that action at this time.
0 commit comments