diff --git a/src/GraphicsControls.Sample/App.xaml b/src/GraphicsControls.Sample/App.xaml index 1d28e72..a6be355 100644 --- a/src/GraphicsControls.Sample/App.xaml +++ b/src/GraphicsControls.Sample/App.xaml @@ -1,9 +1,9 @@ - + + diff --git a/src/GraphicsControls.Sample/App.xaml.cs b/src/GraphicsControls.Sample/App.xaml.cs index 350e4fd..a9015d6 100644 --- a/src/GraphicsControls.Sample/App.xaml.cs +++ b/src/GraphicsControls.Sample/App.xaml.cs @@ -1,4 +1,6 @@ -namespace GraphicsControls.Sample +using Microsoft.Maui.Controls; + +namespace GraphicsControls.Sample { public partial class App : Application { diff --git a/src/GraphicsControls.Sample/GraphicsControls.Sample.csproj b/src/GraphicsControls.Sample/GraphicsControls.Sample.csproj index 455cc45..f921696 100644 --- a/src/GraphicsControls.Sample/GraphicsControls.Sample.csproj +++ b/src/GraphicsControls.Sample/GraphicsControls.Sample.csproj @@ -2,61 +2,57 @@ net6.0-android;net6.0-ios;net6.0-maccatalyst - $(TargetFrameworks);net6.0-windows10.0.19041 + $(TargetFrameworks);net6.0-windows10.0.19041.0 + + Exe GraphicsControls.Sample true - 10.0 true - enable - true - GraphicsControls + GraphicsControls.Sample - com.microsoft.graphicscontrols.sample + com.companyname.graphicscontrols.sample + 886199C7-C6FD-4F27-B394-5AF13E61F272 + 1.0 1 - - True - - 14.2 - 14.0 - 21.0 - 10.0.17763.0 - 10.0.17763.0 + 14.2 + 14.0 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 - + - + + - - - - - + + - + - - WinExe - win10-x64 - + + + diff --git a/src/GraphicsControls.Sample/MainPage.cs b/src/GraphicsControls.Sample/MainPage.cs index ce0b8aa..bd7dd70 100644 --- a/src/GraphicsControls.Sample/MainPage.cs +++ b/src/GraphicsControls.Sample/MainPage.cs @@ -1,4 +1,5 @@ using Microsoft.Maui; +using Microsoft.Maui.ApplicationModel; using Microsoft.Maui.Controls; using Microsoft.Maui.Graphics; using System; @@ -98,8 +99,6 @@ IView CreateContent() var cSharpFrame = new Frame { CornerRadius = 12, - HeightRequest = 150, - WidthRequest = 150, Margin = new Thickness(0, 6, 6, 0) }; @@ -124,8 +123,6 @@ IView CreateContent() var xamlFrame = new Frame { CornerRadius = 12, - HeightRequest = 150, - WidthRequest = 150, Margin = new Thickness(0, 6, 6, 0) }; @@ -170,7 +167,6 @@ IView CreateContent() var customizeFrame = new Frame { CornerRadius = 12, - HeightRequest = 150, Margin = new Thickness(0, 6, 6, 0) }; diff --git a/src/GraphicsControls.Sample/MauiProgram.cs b/src/GraphicsControls.Sample/MauiProgram.cs index 2fa4b91..5d14bd9 100644 --- a/src/GraphicsControls.Sample/MauiProgram.cs +++ b/src/GraphicsControls.Sample/MauiProgram.cs @@ -1,6 +1,8 @@ using GraphicsControls.Sample.Controls; +using Microsoft.Maui.Controls.Hosting; using Microsoft.Maui.Graphics.Controls; using Microsoft.Maui.Graphics.Controls.Hosting; +using Microsoft.Maui.Hosting; namespace GraphicsControls.Sample { diff --git a/src/GraphicsControls.Sample/Platforms/Android/AndroidManifest.xml b/src/GraphicsControls.Sample/Platforms/Android/AndroidManifest.xml index 7570ff6..e9937ad 100644 --- a/src/GraphicsControls.Sample/Platforms/Android/AndroidManifest.xml +++ b/src/GraphicsControls.Sample/Platforms/Android/AndroidManifest.xml @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/src/GraphicsControls.Sample/Platforms/Android/MainActivity.cs b/src/GraphicsControls.Sample/Platforms/Android/MainActivity.cs index b3dc6a3..efe5637 100644 --- a/src/GraphicsControls.Sample/Platforms/Android/MainActivity.cs +++ b/src/GraphicsControls.Sample/Platforms/Android/MainActivity.cs @@ -1,23 +1,11 @@ using Android.App; using Android.Content.PM; -using Android.OS; +using Microsoft.Maui; namespace GraphicsControls.Sample { - [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize)] + [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] public class MainActivity : MauiAppCompatActivity { - protected override void OnCreate(Bundle savedInstanceState) - { - base.OnCreate(savedInstanceState); - Platform.Init(this, savedInstanceState); - } - - public override void OnRequestPermissionsResult(int requestCode, string[] permissions, Permission[] grantResults) - { - Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults); - - base.OnRequestPermissionsResult(requestCode, permissions, grantResults); - } } } \ No newline at end of file diff --git a/src/GraphicsControls.Sample/Platforms/Android/MainApplication.cs b/src/GraphicsControls.Sample/Platforms/Android/MainApplication.cs index 3f0108b..d0c79c3 100644 --- a/src/GraphicsControls.Sample/Platforms/Android/MainApplication.cs +++ b/src/GraphicsControls.Sample/Platforms/Android/MainApplication.cs @@ -1,5 +1,8 @@ using Android.App; using Android.Runtime; +using Microsoft.Maui; +using Microsoft.Maui.Hosting; +using System; namespace GraphicsControls.Sample { diff --git a/src/GraphicsControls.Sample/Platforms/MacCatalyst/AppDelegate.cs b/src/GraphicsControls.Sample/Platforms/MacCatalyst/AppDelegate.cs index 5a328b2..b7c93a7 100644 --- a/src/GraphicsControls.Sample/Platforms/MacCatalyst/AppDelegate.cs +++ b/src/GraphicsControls.Sample/Platforms/MacCatalyst/AppDelegate.cs @@ -1,9 +1,12 @@ using Foundation; +using Microsoft.Maui; +using Microsoft.Maui.Hosting; -namespace GraphicsControls.Sample; - -[Register("AppDelegate")] -public class AppDelegate : MauiUIApplicationDelegate +namespace GraphicsControls.Sample { - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} + [Register("AppDelegate")] + public class AppDelegate : MauiUIApplicationDelegate + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} \ No newline at end of file diff --git a/src/GraphicsControls.Sample/Platforms/MacCatalyst/Program.cs b/src/GraphicsControls.Sample/Platforms/MacCatalyst/Program.cs index cbb0f26..4f534a4 100644 --- a/src/GraphicsControls.Sample/Platforms/MacCatalyst/Program.cs +++ b/src/GraphicsControls.Sample/Platforms/MacCatalyst/Program.cs @@ -1,15 +1,16 @@ using ObjCRuntime; using UIKit; -namespace GraphicsControls.Sample; - -public class Program +namespace GraphicsControls.Sample { - // This is the main entry point of the application. - static void Main(string[] args) - { - // if you want to use a different Application Delegate class from "AppDelegate" - // you can specify it here. - UIApplication.Main(args, null, typeof(AppDelegate)); - } -} + public class Program + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } + } +} \ No newline at end of file diff --git a/src/GraphicsControls.Sample/Platforms/Tizen/Main.cs b/src/GraphicsControls.Sample/Platforms/Tizen/Main.cs new file mode 100644 index 0000000..1580f68 --- /dev/null +++ b/src/GraphicsControls.Sample/Platforms/Tizen/Main.cs @@ -0,0 +1,17 @@ +using Microsoft.Maui; +using Microsoft.Maui.Hosting; +using System; + +namespace GraphicsControls.Sample +{ + internal class Program : MauiApplication + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + + static void Main(string[] args) + { + var app = new Program(); + app.Run(args); + } + } +} \ No newline at end of file diff --git a/src/GraphicsControls.Sample/Platforms/Tizen/tizen-manifest.xml b/src/GraphicsControls.Sample/Platforms/Tizen/tizen-manifest.xml new file mode 100644 index 0000000..98f75dd --- /dev/null +++ b/src/GraphicsControls.Sample/Platforms/Tizen/tizen-manifest.xml @@ -0,0 +1,15 @@ + + + + + + appicon.xhigh.png + + + + + http://tizen.org/privilege/internet + + + + \ No newline at end of file diff --git a/src/GraphicsControls.Sample/Platforms/Windows/App.xaml.cs b/src/GraphicsControls.Sample/Platforms/Windows/App.xaml.cs index af41426..46f88d0 100644 --- a/src/GraphicsControls.Sample/Platforms/Windows/App.xaml.cs +++ b/src/GraphicsControls.Sample/Platforms/Windows/App.xaml.cs @@ -1,31 +1,26 @@ -using Microsoft.UI.Xaml; +using Microsoft.Maui; +using Microsoft.Maui.Hosting; +using Microsoft.UI.Xaml; // To learn more about WinUI, the WinUI project structure, // and more about our project templates, see: http://aka.ms/winui-project-info. -namespace GraphicsControls.Sample.WinUI; - -/// -/// Provides application-specific behavior to supplement the default Application class. -/// -public partial class App : MauiWinUIApplication +namespace GraphicsControls.Sample.WinUI { /// - /// Initializes the singleton application object. This is the first line of authored code - /// executed, and as such is the logical equivalent of main() or WinMain(). + /// Provides application-specific behavior to supplement the default Application class. /// - public App() - { - this.InitializeComponent(); - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); - - protected override void OnLaunched(LaunchActivatedEventArgs args) + public partial class App : MauiWinUIApplication { - base.OnLaunched(args); + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + this.InitializeComponent(); + } - Platform.OnLaunched(args); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } -} - +} \ No newline at end of file diff --git a/src/GraphicsControls.Sample/Platforms/Windows/Package.appxmanifest b/src/GraphicsControls.Sample/Platforms/Windows/Package.appxmanifest index 24ee2f8..2bcb11e 100644 --- a/src/GraphicsControls.Sample/Platforms/Windows/Package.appxmanifest +++ b/src/GraphicsControls.Sample/Platforms/Windows/Package.appxmanifest @@ -1,20 +1,16 @@  - - + - GraphicsControls.Sample - Microsoft - Assets\appiconStoreLogo.png + $placeholder$ + User Name + $placeholder$.png @@ -23,30 +19,19 @@ - + - + - - - - - - - + DisplayName="$placeholder$" + Description="$placeholder$" + Square150x150Logo="$placeholder$.png" + Square44x44Logo="$placeholder$.png" + BackgroundColor="transparent"> + + diff --git a/src/GraphicsControls.Sample/Platforms/iOS/AppDelegate.cs b/src/GraphicsControls.Sample/Platforms/iOS/AppDelegate.cs index 5a328b2..b7c93a7 100644 --- a/src/GraphicsControls.Sample/Platforms/iOS/AppDelegate.cs +++ b/src/GraphicsControls.Sample/Platforms/iOS/AppDelegate.cs @@ -1,9 +1,12 @@ using Foundation; +using Microsoft.Maui; +using Microsoft.Maui.Hosting; -namespace GraphicsControls.Sample; - -[Register("AppDelegate")] -public class AppDelegate : MauiUIApplicationDelegate +namespace GraphicsControls.Sample { - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} + [Register("AppDelegate")] + public class AppDelegate : MauiUIApplicationDelegate + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} \ No newline at end of file diff --git a/src/GraphicsControls.Sample/Platforms/iOS/Program.cs b/src/GraphicsControls.Sample/Platforms/iOS/Program.cs index cbb0f26..4f534a4 100644 --- a/src/GraphicsControls.Sample/Platforms/iOS/Program.cs +++ b/src/GraphicsControls.Sample/Platforms/iOS/Program.cs @@ -1,15 +1,16 @@ using ObjCRuntime; using UIKit; -namespace GraphicsControls.Sample; - -public class Program +namespace GraphicsControls.Sample { - // This is the main entry point of the application. - static void Main(string[] args) - { - // if you want to use a different Application Delegate class from "AppDelegate" - // you can specify it here. - UIApplication.Main(args, null, typeof(AppDelegate)); - } -} + public class Program + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } + } +} \ No newline at end of file diff --git a/src/GraphicsControls.Sample/Resources/appicon.svg b/src/GraphicsControls.Sample/Resources/AppIcon/appicon.svg similarity index 100% rename from src/GraphicsControls.Sample/Resources/appicon.svg rename to src/GraphicsControls.Sample/Resources/AppIcon/appicon.svg diff --git a/src/GraphicsControls.Sample/Resources/appiconfg.svg b/src/GraphicsControls.Sample/Resources/AppIcon/appiconfg.svg similarity index 100% rename from src/GraphicsControls.Sample/Resources/appiconfg.svg rename to src/GraphicsControls.Sample/Resources/AppIcon/appiconfg.svg diff --git a/src/GraphicsControls.Sample/Resources/Fonts/OpenSans-Regular.ttf b/src/GraphicsControls.Sample/Resources/Fonts/OpenSans-Regular.ttf index 29bfd35..6312b9f 100644 Binary files a/src/GraphicsControls.Sample/Resources/Fonts/OpenSans-Regular.ttf and b/src/GraphicsControls.Sample/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/src/GraphicsControls.Sample/Resources/Fonts/OpenSans-Semibold.ttf b/src/GraphicsControls.Sample/Resources/Fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000..de39aed Binary files /dev/null and b/src/GraphicsControls.Sample/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/src/GraphicsControls.Sample/Resources/Raw/AboutAssets.txt b/src/GraphicsControls.Sample/Resources/Raw/AboutAssets.txt new file mode 100644 index 0000000..15d6244 --- /dev/null +++ b/src/GraphicsControls.Sample/Resources/Raw/AboutAssets.txt @@ -0,0 +1,15 @@ +Any raw assets you want to be deployed with your application can be placed in +this directory (and child directories). Deployment of the asset to your application +is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. + + + +These files will be deployed with you package and will be accessible using Essentials: + + async Task LoadMauiAsset() + { + using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); + using var reader = new StreamReader(stream); + + var contents = reader.ReadToEnd(); + } diff --git a/src/GraphicsControls.Sample/Resources/Splash/splash.svg b/src/GraphicsControls.Sample/Resources/Splash/splash.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/src/GraphicsControls.Sample/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/GraphicsControls.sln b/src/GraphicsControls.sln index 722fe52..b57e505 100644 --- a/src/GraphicsControls.sln +++ b/src/GraphicsControls.sln @@ -9,7 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Library", "Library", "{4F00 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sample", "Sample", "{465D03D3-BA73-4E52-BBEA-02DC54647BC6}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GraphicsControls.Sample", "GraphicsControls.Sample\GraphicsControls.Sample.csproj", "{880C747C-CB1F-4253-89BD-A26BE324A643}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GraphicsControls.Sample", "GraphicsControls.Sample\GraphicsControls.Sample.csproj", "{3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -33,31 +33,31 @@ Global {474A33AE-06A4-4219-9545-17751EBF3F84}.Release|iPhone.Build.0 = Release|Any CPU {474A33AE-06A4-4219-9545-17751EBF3F84}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU {474A33AE-06A4-4219-9545-17751EBF3F84}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Debug|Any CPU.Build.0 = Debug|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Debug|Any CPU.Deploy.0 = Debug|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Debug|iPhone.ActiveCfg = Debug|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Debug|iPhone.Build.0 = Debug|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Debug|iPhone.Deploy.0 = Debug|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Release|Any CPU.ActiveCfg = Release|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Release|Any CPU.Build.0 = Release|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Release|Any CPU.Deploy.0 = Release|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Release|iPhone.ActiveCfg = Release|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Release|iPhone.Build.0 = Release|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Release|iPhone.Deploy.0 = Release|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {880C747C-CB1F-4253-89BD-A26BE324A643}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Debug|iPhone.Build.0 = Debug|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Debug|iPhone.Deploy.0 = Debug|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Release|Any CPU.Build.0 = Release|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Release|Any CPU.Deploy.0 = Release|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Release|iPhone.ActiveCfg = Release|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Release|iPhone.Build.0 = Release|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Release|iPhone.Deploy.0 = Release|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {474A33AE-06A4-4219-9545-17751EBF3F84} = {4F0017DB-8A18-4153-A129-782B29DECF51} - {880C747C-CB1F-4253-89BD-A26BE324A643} = {465D03D3-BA73-4E52-BBEA-02DC54647BC6} + {3C8282B6-EF55-4ECF-B3A9-02BD294E42DD} = {465D03D3-BA73-4E52-BBEA-02DC54647BC6} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {475B4FFA-17B6-449C-9D09-DE4E2B0D2F4B} diff --git a/src/GraphicsControls/Handlers/DatePicker/GraphicsDatePicker.Windows.cs b/src/GraphicsControls/Handlers/DatePicker/GraphicsDatePicker.Windows.cs index 4ac95b8..a8f3626 100644 --- a/src/GraphicsControls/Handlers/DatePicker/GraphicsDatePicker.Windows.cs +++ b/src/GraphicsControls/Handlers/DatePicker/GraphicsDatePicker.Windows.cs @@ -20,7 +20,7 @@ public class GraphicsDatePicker : UserControl, IMixedNativeView readonly W2DCanvas _canvas = new W2DCanvas(); IMixedGraphicsHandler _graphicsControl; - IDrawable? _drawable; + IDrawable _drawable; RectF _dirty; public GraphicsDatePicker() diff --git a/src/GraphicsControls/Handlers/Editor/GraphicsEditor.Android.cs b/src/GraphicsControls/Handlers/Editor/GraphicsEditor.Android.cs index 792add3..986e8b7 100644 --- a/src/GraphicsControls/Handlers/Editor/GraphicsEditor.Android.cs +++ b/src/GraphicsControls/Handlers/Editor/GraphicsEditor.Android.cs @@ -28,7 +28,7 @@ public GraphicsEditor(Context context) : base(context) Background = null; } - public Color? BackgroundColor + public Color BackgroundColor { get => _backgroundColor; set