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.
paket add Egorozh.ColorPicker.Avalonia.Dialog --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.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.
// Install Egorozh.ColorPicker.Avalonia.Dialog as a Cake Addin #addin nuget:?package=Egorozh.ColorPicker.Avalonia.Dialog&version=11.0.3 // Install Egorozh.ColorPicker.Avalonia.Dialog as a Cake Tool #tool nuget:?package=Egorozh.ColorPicker.Avalonia.Dialog&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.
-
net7.0
- Egorozh.ColorPicker.Avalonia (>= 11.0.3)
- MessageBox.Avalonia (>= 2.1.0)
-
net8.0
- Egorozh.ColorPicker.Avalonia (>= 11.0.3)
- MessageBox.Avalonia (>= 2.1.0)
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 | 170 | 3/15/2024 |
11.0.2 | 111 | 3/14/2024 |
11.0.1 | 140 | 1/27/2024 |
11.0.0 | 212 | 8/19/2023 |
11.0.0-preview1 | 210 | 8/21/2022 |
0.10.17 | 794 | 8/12/2022 |
0.10.7 | 1,209 | 8/28/2021 |
0.10.1 | 443 | 1/30/2021 |
0.10.0.2-rc1 | 288 | 12/20/2020 |