Egorozh.ColorPicker.Avalonia
11.0.3
dotnet add package Egorozh.ColorPicker.Avalonia --version 11.0.3
NuGet\Install-Package Egorozh.ColorPicker.Avalonia -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" Version="11.0.3" />
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.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Egorozh.ColorPicker.Avalonia, 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.
// Install Egorozh.ColorPicker.Avalonia as a Cake Addin #addin nuget:?package=Egorozh.ColorPicker.Avalonia&version=11.0.3 // Install Egorozh.ColorPicker.Avalonia as a Cake Tool #tool nuget:?package=Egorozh.ColorPicker.Avalonia&version=11.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Egorozh.ColorPicker
AvaloniaUI ColorPicker:
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:
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 | Versions 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)
Included target framework(s) (in package)
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 |
---|---|
Egorozh.ColorPicker.Avalonia.Dialog
ColorPicker dialog for Avalonia |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
11.0.3 | 230 | 3/15/2024 |
11.0.2 | 150 | 3/14/2024 |
11.0.1 | 170 | 1/27/2024 |
11.0.0 | 229 | 8/19/2023 |
11.0.0-preview1 | 278 | 8/21/2022 |
0.10.17 | 1,071 | 8/12/2022 |
0.10.7 | 1,373 | 8/28/2021 |
0.10.1 | 587 | 1/30/2021 |
0.10.0.2-rc1 | 365 | 12/20/2020 |
0.10.0.1-rc1 | 299 | 12/16/2020 |
0.10.0-rc1 | 329 | 12/16/2020 |
0.2.0.7-a | 322 | 12/15/2020 |