Egorozh.ColorPicker.Avalonia 11.0.1

dotnet add package Egorozh.ColorPicker.Avalonia --version 11.0.1
NuGet\Install-Package Egorozh.ColorPicker.Avalonia -Version 11.0.1
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="Egorozh.ColorPicker.Avalonia" Version="11.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Egorozh.ColorPicker.Avalonia --version 11.0.1
#r "nuget: Egorozh.ColorPicker.Avalonia, 11.0.1"
#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 Egorozh.ColorPicker.Avalonia as a Cake Addin
#addin nuget:?package=Egorozh.ColorPicker.Avalonia&version=11.0.1

// Install Egorozh.ColorPicker.Avalonia as a Cake Tool
#tool nuget:?package=Egorozh.ColorPicker.Avalonia&version=11.0.1

Nuget (with prereleases) Nuget (with prereleases) Nuget (with prereleases)


AvaloniaUI ColorPicker:

example example example

AvaloniaUI Getting Started

Install the library as a NuGet package:

Install-Package Egorozh.ColorPicker.Avalonia.Dialog
# Or 'dotnet add package Egorozh.ColorPicker.Avalonia.Dialog'

Then, reference the preffered theme from your App.xaml file:

<Application xmlns=""
      <SimpleTheme Mode="Dark"/>
      <dialog:SimpleColorTheme Mode="Dark"/>



Done! Use ColorPickerButton

<dialog:ColorPickerButton Color="#99029344"

or ColorPickerDialog:

ColorPickerDialog dialog = new ()
  Color = _color

var res = await dialog.ShowDialog<bool>(Owner);

if (res)
  _color = dialog.Color;

WPF ColorPicker:

example example example example example

WPF Getting Started

Install the library as a NuGet package:

Install-Package Egorozh.ColorPicker.WPF.Dialog
# Or 'dotnet add package Egorozh.ColorPicker.WPF.Dialog'

Done! Use ColorPickerButton

<dialog:ColorPickerButton Color="#99029344"

or ColorPickerDialog:

var dialog = new ColorPickerDialog
  Owner = Owner,
  Color = Color

var res = dialog.ShowDialog();

if (res == true)
  Color = dialog.Color;

To run MahApps Version:

Install the library as a NuGet package:

Install-Package Egorozh.ColorPicker.WPF.Dialog.MahApps
# Or 'dotnet add Egorozh.ColorPicker.WPF.Dialog.MahApps'

Then, reference the preffered theme from your App.xaml file:

<Application x:Class="Egorozh.ColorPicker.Client.App"

                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Dark.Crimson.xaml" />

                <ResourceDictionary Source="pack://application:,,,/Egorozh.ColorPicker.WPF.Dialog.MahApps;component/Themes/Generic.xaml" />
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Egorozh.ColorPicker.Avalonia:

Package Downloads

ColorPicker dialog for Avalonia

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
11.0.1 105 1/27/2024
11.0.0 169 8/19/2023
11.0.0-preview1 209 8/21/2022
0.10.17 971 8/12/2022
0.10.7 1,056 8/28/2021
0.10.1 529 1/30/2021 312 12/20/2020 254 12/16/2020
0.10.0-rc1 291 12/16/2020 281 12/15/2020