Docutain.ColorPicker.MAUI 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Docutain.ColorPicker.MAUI --version 1.0.0                
NuGet\Install-Package Docutain.ColorPicker.MAUI -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Docutain.ColorPicker.MAUI" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Docutain.ColorPicker.MAUI --version 1.0.0                
#r "nuget: Docutain.ColorPicker.MAUI, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Docutain.ColorPicker.MAUI as a Cake Addin
#addin nuget:?package=Docutain.ColorPicker.MAUI&version=1.0.0

// Install Docutain.ColorPicker.MAUI as a Cake Tool
#tool nuget:?package=Docutain.ColorPicker.MAUI&version=1.0.0                

Docutain Color Picker for .NET MAUI

An easy to use, low overhead, yet high performing .NET MAUI Color Picker for your cross-platform Android & iOS apps.

This color picker was initially implemented for our Docutain SDK customers to provide a way to alter the colors of our Document Scanner SDK.

As there are not many Color Pickers available for MAUI, we decided to make it publicly available.

Supported Platforms

  • Android >= 21
  • iOS >= 14

Getting Started

//define your custom config, all values are optional
var colorConfig = new ColorPickerConfig 
{ 
    SupportsAlpha = true,
    DefaultColor = Colors.Yellow,
    NegativeButton = "Cancel",
    PositiveButton = "OK",
    Title = "Pick a color"
};

//open the picker and wait for the result
var color = await ColorPicker.PickColor(colorConfig);

if(color != null)
{
    //do something with the selected color
}
else
{
    //user canceled the selection
}

Libraries used

https://github.com/Dhaval2404/ColorPicker

License

Copyright 2024 INFOSOFT Informations- und Dokumentationssysteme GmbH

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Product Compatible and additional computed target framework versions.
.NET net8.0-android34.0 is compatible.  net8.0-ios18.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 72 12/19/2024
1.0.0 83 12/2/2024