An easy to use, low overhead, yet high performing .NET MAUI Color Picker for your cross-platform Android and iOS apps.
$ dotnet add package Docutain.ColorPicker.MAUIAn 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.
//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
}
https://github.com/Dhaval2404/ColorPicker
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.