ColorPicker.Maui
1.0.0-dev.6
This is a prerelease version of ColorPicker.Maui.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ColorPicker.Maui --version 1.0.0-dev.6
NuGet\Install-Package ColorPicker.Maui -Version 1.0.0-dev.6
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="ColorPicker.Maui" Version="1.0.0-dev.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ColorPicker.Maui --version 1.0.0-dev.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ColorPicker.Maui, 1.0.0-dev.6"
#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 ColorPicker.Maui as a Cake Addin #addin nuget:?package=ColorPicker.Maui&version=1.0.0-dev.6&prerelease // Install ColorPicker.Maui as a Cake Tool #tool nuget:?package=ColorPicker.Maui&version=1.0.0-dev.6&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ColorPicker.Maui 🎨
a color picker control for .NET MAUI powered on SkiaSharp.
This is a fork of Maui.ColorPicker with extra fixes and features maintained by @trungnt2910.
this is largely based on XFColorPickerControl
for Xamarin.Forms (https://github.com/UdaraAlwis/XFColorPickerControl) by UdaraAlwis who allowed me to publish this updated version of the control 🙌
Getting Started
add namespace
xmlns:cp="https://trungnt2910.github.io/schemas/maui/2022/colorpicker"
create control
<cp:ColorPicker
x:Name="ColorPicker"
ColorListDirection="Horizontal"
GradientColorStyle="DarkToColorsToLightStyle"
PickedColorChanged="ColorPicker_PickedColorChanged"
PickedColor="Blue">
</cp:ColorPicker>
more to come... 🔜
Exclusive features
- Setting
PickedColor
field. This enables many features such as two-way binding and setting an initial picked color. - Improved performance due to less unnecessary re-rendering.
- Some other bug fixes (
PointerRingPositionXUnits
,PointerRingPositionYUnits
properties are fixed).
Documentation
You can access the library's latest documentation here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-android31.0 is compatible. net6.0-ios15.4 is compatible. net6.0-maccatalyst15.4 is compatible. net6.0-windows10.0.19041 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-windows was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-android31.0
- SkiaSharp.Views.Maui.Controls (>= 2.88.2)
-
net6.0-ios15.4
- SkiaSharp.Views.Maui.Controls (>= 2.88.2)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-maccatalyst15.4
- SkiaSharp.Views.Maui.Controls (>= 2.88.2)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-windows10.0.19041
- SkiaSharp.Views.Maui.Controls (>= 2.88.2)
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.1.0-dev.3 | 2,450 | 10/9/2022 |
1.1.0-dev.1 | 140 | 9/15/2022 |
1.0.0 | 11,605 | 9/15/2022 |
1.0.0-dev.6 | 158 | 9/14/2022 |
1.0.0-dev.5 | 156 | 9/14/2022 |
0.1.17 | 476 | 9/14/2022 |
0.1.0 | 491 | 9/14/2022 |