From bd60090f754f281390c0e11869b928bc0e90c6f0 Mon Sep 17 00:00:00 2001
From: Zheludkov Egor <37664492+egorozh@users.noreply.github.com>
Date: Sun, 20 Dec 2020 20:01:02 +0300
Subject: [PATCH 1/2] Update README.md
---
README.md | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 60 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 22044aa..b8a5eb7 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
![example](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob//v2.0/images/example-avalonia-2.png "Пример диалогого окна")
![example](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob//v2.0/images/example-avalonia-3.png "Пример диалогого окна")
-### Getting Started
+### AvaloniaUI Getting Started
Install the library as a NuGet package:
@@ -59,8 +59,66 @@ if (res)
_color = dialog.Color;
```
-## WPF ColorPicker (Not ready yet. Will be rewritten):
+## WPF ColorPicker:
![example](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob//v2.0/images/example-wpf-1.png "Пример диалогого окна")
![example](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob//v2.0/images/example-wpf-2.png "Пример диалогого окна")
![example](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob//v2.0/images/example-wpf-3.png "Пример диалогого окна")
![example](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob//v2.0/images/example-wpf-4.png "Пример диалогого окна")
+![example](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob//v2.0/images/example-wpf-mahapps-1.png "MahApps")
+
+### WPF Getting Started
+
+Install the library as a NuGet package:
+
+```powershell
+Install-Package Egorozh.ColorPicker.WPF.Dialog
+# Or 'dotnet add package Egorozh.ColorPicker.WPF.Dialog'
+```
+Done! Use ColorPickerButton
+```xml
+
+```
+or ColorPickerDialog:
+```c#
+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:
+
+```powershell
+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:
+
+```xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
From 075639e702246bf653f3f26f06552c6c4d24296a Mon Sep 17 00:00:00 2001
From: Zheludkov Egor <37664492+egorozh@users.noreply.github.com>
Date: Sun, 20 Dec 2020 20:04:05 +0300
Subject: [PATCH 2/2] Update README.md
---
README.md | 2 --
1 file changed, 2 deletions(-)
diff --git a/README.md b/README.md
index b8a5eb7..4e9fe03 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,5 @@
# Egorozh.ColorPicker
-[![NuGet version (Egorozh.ColorPicker.WPF)](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob/v2.0/shield.svg)](https://www.nuget.org/packages/Egorozh.ColorPicker.Avalonia.Dialog/)
-
## AvaloniaUI ColorPicker:
![example](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob//v2.0/images/example-avalonia-1.png "Пример диалогого окна")
![example](https://github.com/egorozh/Egorozh.ColorPicker.WPF/blob//v2.0/images/example-avalonia-2.png "Пример диалогого окна")