A color picker control for .NET MAUI powered by 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 🙌
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... 🔜
- 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).
You can access the library's latest documentation here.