Egorozh.ColorPicker.Avalonia.Dialog 11.0.3

dotnet add package Egorozh.ColorPicker.Avalonia.Dialog --version 11.0.3
                    
NuGet\Install-Package Egorozh.ColorPicker.Avalonia.Dialog -Version 11.0.3
                    
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.Dialog" Version="11.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Egorozh.ColorPicker.Avalonia.Dialog" Version="11.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Egorozh.ColorPicker.Avalonia.Dialog" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Egorozh.ColorPicker.Avalonia.Dialog --version 11.0.3
                    
#r "nuget: Egorozh.ColorPicker.Avalonia.Dialog, 11.0.3"
                    
#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.
#:package Egorozh.ColorPicker.Avalonia.Dialog@11.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Egorozh.ColorPicker.Avalonia.Dialog&version=11.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Egorozh.ColorPicker.Avalonia.Dialog&version=11.0.3
                    
Install as a Cake Tool

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

Egorozh.ColorPicker

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="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:dialog="clr-namespace:Egorozh.ColorPicker.Dialog;assembly=Egorozh.ColorPicker.Avalonia.Dialog"
             x:Class="YourNamespace.App">
  <Application.Styles>
      
      <SimpleTheme Mode="Dark"/>
      <dialog:SimpleColorTheme Mode="Dark"/>

      
      
      

      
      
  </Application.Styles>
</Application>

Done! Use ColorPickerButton

<dialog:ColorPickerButton Color="#99029344"
                          Cursor="Hand"/>

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"
                          Cursor="Hand"/>

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"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            
             StartupUri="MainWindow.xaml">

    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <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" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
11.0.3 448 3/15/2024
11.0.2 255 3/14/2024
11.0.1 306 1/27/2024
11.0.0 329 8/19/2023
11.0.0-preview1 398 8/21/2022
0.10.17 1,015 8/12/2022
0.10.7 1,436 8/28/2021
0.10.1 653 1/30/2021
0.10.0.2-rc1 523 12/20/2020