trungnt2910 / ColorPicker.Maui

a color picker control for .NET MAUI powered by SkiaSharp.

Home Page:https://johnnys.news/2022/08/say-hello-to-Maui-ColorPicker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ColorPicker.Maui icon

ColorPicker.Maui 🎨

A color picker control for .NET MAUI powered by SkiaSharp.

CI License NuGet version NuGet downloads

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.

About

a color picker control for .NET MAUI powered by SkiaSharp.

https://johnnys.news/2022/08/say-hello-to-Maui-ColorPicker

License:MIT License


Languages

Language:C# 100.0%