{"id":12894,"date":"2019-08-19T08:59:38","date_gmt":"2019-08-18T23:59:38","guid":{"rendered":"https:\/\/elleneast.com\/?p=12894"},"modified":"2019-08-26T10:26:42","modified_gmt":"2019-08-26T01:26:42","slug":"%e3%80%90vb-net%e3%80%91%e3%80%90wpf%e3%80%91extended-wpf-toolkit-colorpicker-%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9","status":"publish","type":"post","link":"https:\/\/elleneast.com\/?p=12894","title":{"rendered":"\u3010VB.NET\u3011\u3010WPF\u3011Extended WPF Toolkit ColorPicker \u306e\u4f7f\u3044\u65b9"},"content":{"rendered":"<p>WPF \u306e\u6a19\u6e96\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306b\u306f Forms \u306e ColorDialog \u306b\u76f8\u5f53\u3059\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Forms \u306e ColorDialog \u3092 WPF \u3067\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u308b\u308f\u3051\u3067\u3059\u304c\u30fb\u30fb\u30fb\u3042\u307e\u308a\u6c17\u6301\u3061\u826f\u304f\u306a\u3044\u3058\u3083\u306a\u3044\u3067\u3059\u304b\uff08\uff1f\uff09\u3002<\/p>\n<p>\u3067\u3001\u30cd\u30c3\u30c8\u691c\u7d22\u3057\u3066\u307f\u308b\u3068\u3001WPF \u3067\u4f7f\u3048\u308b\u3082\u306e\u304c\u3044\u304f\u3064\u304b\u306e\u56e3\u4f53\u3084\u4f1a\u793e\u304b\u3089\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u306d\u3002\u500b\u4eba\u3067\u958b\u767a\u3057\u3066\u3044\u308b\u65b9\u3082\u304a\u3089\u308c\u308b\u3088\u3046\u3067\u3057\u305f\u3002<\/p>\n<p>\u9078\u629e\u80a2\u306f\u3044\u304f\u3064\u304b\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u306f <a href=\"https:\/\/github.com\/xceedsoftware\/wpftoolkit\/wiki\/ColorPicker\" target=\"_blank\" rel=\"noopener noreferrer\">Extended WPF Toolkit \u306e&nbsp;<strong>ColorPicker<\/strong><\/a> \u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\"><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_4b.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12916\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_4b.png\" alt=\"\" width=\"440\" height=\"482\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_4b.png 440w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_4b-274x300.png 274w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\"><\/a><\/td>\n<td style=\"width: 50%;\"><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_5c.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12917\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_5c.png\" alt=\"\" width=\"441\" height=\"370\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_5c.png 441w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_5c-300x252.png 300w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\"><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/elleneast.com\/?p=12894\/#Extended_WPF_Toolkit_%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB\" >Extended WPF Toolkit \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/elleneast.com\/?p=12894\/#ColorPicker_%E3%82%92%E8%A8%AD%E7%BD%AE%E3%81%99%E3%82%8B%EF%BC%88xaml_%E3%81%AE%E7%B7%A8%E9%9B%86%EF%BC%89\" >ColorPicker \u3092\u8a2d\u7f6e\u3059\u308b\uff08xaml \u306e\u7de8\u96c6\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/elleneast.com\/?p=12894\/#%E3%83%97%E3%83%AD%E3%83%91%E3%83%86%E3%82%A3\" >\u30d7\u30ed\u30d1\u30c6\u30a3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/elleneast.com\/?p=12894\/#%E3%82%A4%E3%83%99%E3%83%B3%E3%83%88\" >\u30a4\u30d9\u30f3\u30c8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/elleneast.com\/?p=12894\/#%E5%80%A4%E3%81%AE%E4%BF%9D%E5%AD%98%E3%81%A8%E5%BE%A9%E5%85%83\" >\u5024\u306e\u4fdd\u5b58\u3068\u5fa9\u5143<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/elleneast.com\/?p=12894\/#%E9%81%B8%E6%8A%9E%E3%81%95%E3%82%8C%E3%81%9F%E8%89%B2%E3%82%92_Color_%E3%81%AB%E5%A4%89%E6%8F%9B\" >\u9078\u629e\u3055\u308c\u305f\u8272\u3092 Color \u306b\u5909\u63db<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/elleneast.com\/?p=12894\/#%E3%83%93%E3%83%AB%E3%83%89%E5%87%BA%E5%8A%9B%E3%83%91%E3%82%B9%E3%81%AB%E3%82%B3%E3%83%94%E3%83%BC%E3%81%95%E3%82%8C%E3%82%8B_DLL\" >\u30d3\u30eb\u30c9\u51fa\u529b\u30d1\u30b9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u308b DLL<\/a><\/li><\/ul><\/nav><\/div>\n<h2 id=\"i-0\"><span class=\"ez-toc-section\" id=\"Extended_WPF_Toolkit_%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB\"><\/span>Extended WPF Toolkit \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Visual Studio \u306e\u4e0a\u90e8\u30e1\u30cb\u30e5\u30fc\u304b\u3089\uff3b\u30c4\u30fc\u30eb\uff3d\uff1e\uff3bNuGet \u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\uff3d\uff1e\uff3b\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e NuGet \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u7ba1\u7406\uff3d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12910 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_1.png\" alt=\"\" width=\"636\" height=\"355\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_1.png 636w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_1-300x167.png 300w\" sizes=\"auto, (max-width: 636px) 100vw, 636px\"><\/a><\/p>\n<p>\uff3b\u53c2\u7167\uff3d\u3092\u9078\u629e\u3057\u3001\u691c\u7d22\u30dc\u30c3\u30af\u30b9\u306b\u300cExtended.Wpf.Toolkit\u300d\u3068\u5165\u529b\u3057\u307e\u3059\u3002\u5de6\u30da\u30a4\u30f3\u3067 Extended.Wpf.Toolkit \u304c\u898b\u3064\u304b\u3063\u305f\u3089\u305d\u308c\u3092\u9078\u629e\u3057\u3001\u53f3\u5074\u306e\u30da\u30a4\u30f3\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\uff3b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff3d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12908 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_2.png\" alt=\"\" width=\"1081\" height=\"477\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_2.png 1081w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_2-300x132.png 300w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_2-768x339.png 768w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_2-1024x452.png 1024w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_2-940x415.png 940w\" sizes=\"auto, (max-width: 1081px) 100vw, 1081px\"><\/a><\/p>\n<p>\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u305f\u3089\uff3bOK\uff3d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12911 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_3.png\" alt=\"\" width=\"486\" height=\"493\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_3.png 486w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_3-296x300.png 296w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\"><\/a><\/p>\n<h2 id=\"i-1\"><span class=\"ez-toc-section\" id=\"ColorPicker_%E3%82%92%E8%A8%AD%E7%BD%AE%E3%81%99%E3%82%8B%EF%BC%88xaml_%E3%81%AE%E7%B7%A8%E9%9B%86%EF%BC%89\"><\/span>ColorPicker \u3092\u8a2d\u7f6e\u3059\u308b\uff08xaml \u306e\u7de8\u96c6\uff09<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Extended.Wpf.Toolkit \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001ColorPicker \u3092\u4f7f\u7528\u3059\u308b Window \u306e xaml \u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<p>Window \u30bf\u30b0\u306b\u4e0b\u8a18\u306e xctk \u540d\u524d\u7a7a\u9593\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"sng-box box14\">\n<p>xmlns:xctk=\u201dhttp:\/\/schemas.xceed.com\/wpf\/xaml\/toolkit\u201d<\/p>\n<\/div>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12921 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_6.png\" alt=\"\" width=\"670\" height=\"156\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_6.png 670w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_6-300x70.png 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\"><\/a><\/p>\n<p>\u305d\u3057\u3066 ColorPicker \u3092\u8a2d\u7f6e\u3057\u305f\u3044\u3068\u3053\u308d\u306b\u4e0b\u8a18\u306e\u30bf\u30b0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"sng-box box14\">\n<p>&lt;xctk:ColorPicker \/&gt;<\/p>\n<\/div>\n<p>\u3082\u3061\u308d\u3093\u4e0a\u8a18\u306f\u6700\u4f4e\u9650\u306e\u30bf\u30b0\u306a\u306e\u3067\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u3053\u306e\u8a18\u4e8b\u306e\u6700\u521d\u306e\u56f3\u306e\u3088\u3046\u306a ColorPicker \u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:xhtml decode:true \">&lt;xctk:ColorPicker Name=\"ColorPicker\" AdvancedButtonHeader=\"\u30e6\u30fc\u30b6\u30fc\u8a2d\u5b9a\" StandardButtonHeader=\"\u6a19\u6e96\" AvailableColorsHeader=\"\u4f7f\u7528\u53ef\u80fd\u306a\u8272\" \n     ShowRecentColors=\"True\" RecentColorsHeader=\"\u6700\u8fd1\u4f7f\u3063\u305f\u8272\" StandardColorsHeader=\"\u6a19\u6e96\u8272\" Margin=\"5,0,0,0\" DisplayColorAndName=\"False\" \n     SelectedColorChanged=\"ColorPicker_SelectedColorChanged\" Closed=\"ColorPicker_Closed\" AvailableColorsSortingMode=\"HueSaturationBrightness\" \n     UsingAlphaChannel=\"True\" Width=\"60\" SelectedColor=\"Red\" \/&gt;<\/pre>\n<h2 id=\"i-2\"><span class=\"ez-toc-section\" id=\"%E3%83%97%E3%83%AD%E3%83%91%E3%83%86%E3%82%A3\"><\/span>\u30d7\u30ed\u30d1\u30c6\u30a3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>ColorPicker \u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<table rules=\"all\">\n<thead>\n<tr>\n<th>\u30d7\u30ed\u30d1\u30c6\u30a3<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>AdvancedButtonHeader<\/td>\n<td>\u201cAdvanced\u201d \u30bf\u30d6\u306e\u30d8\u30c3\u30c0\u30fc\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>AvailableColors<\/td>\n<td>\u300c\u4f7f\u7528\u53ef\u80fd\u306a\u8272\u300d\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>AvailableColorsHeader<\/td>\n<td>\u300c\u4f7f\u7528\u53ef\u80fd\u306a\u8272\u300d\u306e\u30d8\u30c3\u30c0\u30fc\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>AvailableColorSortingMode<\/td>\n<td>\u300c\u4f7f\u7528\u53ef\u80fd\u306a\u8272\u300d\u306e\u30bd\u30fc\u30c8\u65b9\u6cd5\uff08\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u9806\u307e\u305f\u306f HSB \u8272\u7a7a\u9593\u9806\uff09\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u9806\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>ButtonStyle<\/td>\n<td>\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u30dc\u30bf\u30f3\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>ColorMode<\/td>\n<td>\u73fe\u5728\u306e\u8868\u793a\u753b\u9762\uff08ColorPalette \u307e\u305f\u306f ColorCanvas\uff09\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f ColorPalette \u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>DisplayColorAndName<\/td>\n<td>\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306b\u8272\u3068\u540d\u524d\u3092\u8868\u793a\u3059\u308b\u304b\uff08True\uff09\u3001\u8272\u306e\u307f\u3092\u8868\u793a\u3059\u308b\u304b\uff08False\uff09\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>DisplayColorTooltip<\/td>\n<td>\u300c\u4f7f\u7528\u53ef\u80fd\u306a\u8272\u300d\u306e\u540d\u524d\u3092\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\u3067\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f True \u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>IsOpen<\/td>\n<td>\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u304c\u958b\u304b\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>RecentColors<\/td>\n<td>\u300c\u6700\u8fd1\u4f7f\u3063\u305f\u8272\u300d\u306e\u3059\u3079\u3066\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>RecentColorsHeader<\/td>\n<td>\u300c\u6700\u8fd1\u4f7f\u3063\u305f\u8272\u300d\u306e\u30d8\u30c3\u30c0\u30fc\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>SelectedColor<\/td>\n<td>\u73fe\u5728\u9078\u629e\u3055\u308c\u3066\u3044\u308b\u8272\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>SelectedColorText<\/td>\n<td><strong>SelectedColor<\/strong> \u306e\u5b9a\u7fa9\u6e08\u307f\u306e\u8272\u540d\u307e\u305f\u306f 16 \u9032\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>ShowAdvancedButton<\/td>\n<td>\u201cAdvanced\u201d \u30dc\u30bf\u30f3\u3092\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002\uff08Extended.Wpf.Toolkit 3.5.0 \u3067\u306f\u5ec3\u6b62\u3055\u308c\u3066\u3044\u308b\u6a21\u69d8 by \u30a8\u30ec\u30f3\u30fb\u30a4\u30fc\u30b9\u30c8\uff09<\/td>\n<\/tr>\n<tr>\n<td>ShowAvailableColors<\/td>\n<td><strong>AvailableColors<\/strong> \u3092\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>ShowDropDownButton<\/td>\n<td>\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30dc\u30bf\u30f3\u3092\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>ShowRecentColors<\/td>\n<td><strong>RecentColors<\/strong> \u3092\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306f False \u3067\u3059\uff09<\/td>\n<\/tr>\n<tr>\n<td>ShowStandardColors<\/td>\n<td><strong>StandardColors<\/strong> \u3092\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>StandardButtonHeader<\/td>\n<td>\u201cStandard\u201d \u30bf\u30d6\u306e\u30d8\u30c3\u30c0\u30fc\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>StandardColors<\/td>\n<td>\u6a19\u6e96\u8272\u306e\u30d1\u30ec\u30c3\u30c8\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>StandardColorsHeader<\/td>\n<td>\u6a19\u6e96\u8272\u306e\u30d8\u30c3\u30c0\u30fc\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>UsingAlphaChannel<\/td>\n<td>\u30a2\u30eb\u30d5\u30a1\u30c1\u30e3\u30cd\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"i-3\"><span class=\"ez-toc-section\" id=\"%E3%82%A4%E3%83%99%E3%83%B3%E3%83%88\"><\/span><a id=\"user-content-events\" class=\"anchor\" href=\"https:\/\/github.com\/xceedsoftware\/wpftoolkit\/wiki\/ColorPicker#events\" aria-hidden=\"true\"><\/a>\u30a4\u30d9\u30f3\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>ColorPicker \u306e\u4e3b\u306a\u30a4\u30d9\u30f3\u30c8\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30a4\u30d9\u30f3\u30c8<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>SelectedColorChanged<\/td>\n<td><strong>SelectedColor<\/strong> \u306e\u5024\u304c\u5909\u5316\u3057\u305f\u3068\u304d\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>Closed<\/td>\n<td>ColorPicker \u306e\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u304c\u9589\u3058\u305f\u3068\u304d\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"i-4\"><span class=\"ez-toc-section\" id=\"%E5%80%A4%E3%81%AE%E4%BF%9D%E5%AD%98%E3%81%A8%E5%BE%A9%E5%85%83\"><\/span>\u5024\u306e\u4fdd\u5b58\u3068\u5fa9\u5143<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>ColorPicker \u306e\u300c\u9078\u629e\u4e2d\u306e\u8272\u300d\u3068\u300c\u6700\u8fd1\u4f7f\u3063\u305f\u8272\u300d\u3092\u4fdd\u5b58\uff0f\u5fa9\u5143\u3059\u308b\u30b3\u30fc\u30c9\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<pre class=\"lang:vbnet decode:true\">Dim ColorPickerValuesFile As String = \"D:\\temp\\ColorPickerValues.txt\"\n\nFriend Sub SaveColorPickerValues(oColorPicker As Xceed.Wpf.Toolkit.ColorPicker)\n\nIf oColorPicker.SelectedColor.HasValue = True OrElse oColorPicker.RecentColors.Count &gt; 0 Then\n    Dim sw As New System.IO.StreamWriter(ColorPickerValuesFile)\n\n    '\u9078\u629e\u4e2d\u306e\u8272\n    If oColorPicker.SelectedColor.HasValue = True Then\n        Dim c As Color = oColorPicker.SelectedColor.Value\n        sw.WriteLine(\"SelectedColor:\" &amp; c.A &amp; \",\" &amp; c.R &amp; \",\" &amp; c.G &amp; \",\" &amp; c.B)\n    End If\n\n    '\u6700\u8fd1\u4f7f\u3063\u305f\u8272\n    If oColorPicker.RecentColors.Count &gt; 0 Then\n        For Each item As Xceed.Wpf.Toolkit.ColorItem In oColorPicker.RecentColors\n            If item.Color IsNot Nothing Then\n                Dim c As Color = item.Color\n                sw.WriteLine(\"RecentColor:\" &amp; item.Name &amp; \",\" &amp; c.A &amp; \",\" &amp; c.R &amp; \",\" &amp; c.G &amp; \",\" &amp; c.B)\n            End If\n        Next\n    End If\n\n    sw.Close() : sw.Dispose()\nEnd If\n\nEnd Sub\n\nFriend Sub ReadColorPickerValues(oColorPicker As Xceed.Wpf.Toolkit.ColorPicker)\n\nIf System.IO.File.Exists(ColorPickerValuesFile) = True Then\n    Dim allLines() As String = System.IO.File.ReadAllLines(ColorPickerValuesFile)\n    For Each aLine As String In allLines\n        If aLine.Contains(\":\") = True Then\n            Dim vals As String = aLine.Remove(0, aLine.IndexOf(\":\")+1)\n            Dim valsArray() As String = vals.Split(\",\")\n            If aLine.Contains(\"SelectedColor\") = True Then\n                '\u9078\u629e\u4e2d\u306e\u8272\n                oColorPicker.SelectedColor = Color.FromArgb(valsArray(0),valsArray(1),valsArray(2),valsArray(3))\n            Else\n                '\u6700\u8fd1\u4f7f\u3063\u305f\u8272\n                Dim oColor As Color = Color.FromArgb(valsArray(1),valsArray(2),valsArray(3),valsArray(4))\n                Dim oColorItem As New Xceed.Wpf.Toolkit.ColorItem(oColor, valsArray(0))\n                oColorPicker.RecentColors.Add(oColorItem)\n            End If\n        End If\n    Next\nEnd If\n\nEnd Sub<\/pre>\n<h2 id=\"i-5\"><span class=\"ez-toc-section\" id=\"%E9%81%B8%E6%8A%9E%E3%81%95%E3%82%8C%E3%81%9F%E8%89%B2%E3%82%92_Color_%E3%81%AB%E5%A4%89%E6%8F%9B\"><\/span>\u9078\u629e\u3055\u308c\u305f\u8272\u3092 Color \u306b\u5909\u63db<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"lang:vbnet decode:true\">Dim c As Color = oColorPicker.SelectedColor.Value\n\nDim DrawingColor = System.Drawing.Color.FromArgb(c.A, c.R, c.G, c.B)\n\nDim MediaColor = System.Windows.Media.Color.FromArgb(c.A, c.R, c.G, c.B)\n'Dim MediaColor As System.Windows.Media.Color = oColorPicker.SelectedColor.Value<\/pre>\n<h2 id=\"i-6\"><span class=\"ez-toc-section\" id=\"%E3%83%93%E3%83%AB%E3%83%89%E5%87%BA%E5%8A%9B%E3%83%91%E3%82%B9%E3%81%AB%E3%82%B3%E3%83%94%E3%83%BC%E3%81%95%E3%82%8C%E3%82%8B_DLL\"><\/span>\u30d3\u30eb\u30c9\u51fa\u529b\u30d1\u30b9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u308b DLL<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Extended Wpf Toolkit version 3.5.0 \u3092\u53c2\u7167\u3057\u3066\u4f7f\u7528\u3057\u305f\u3068\u3053\u308d\u3001\u4e0b\u8a18\u306e\uff15\u3064\u306e DLL \u304c\u30d3\u30eb\u30c9\u51fa\u529b\u30d1\u30b9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>Xceed.Wpf.AvalonDock.dll<\/li>\n<li>Xceed.Wpf.AvalonDock.Themes.Aero.dll<\/li>\n<li>Xceed.Wpf.AvalonDock.Themes.Metro.dll<\/li>\n<li>Xceed.Wpf.AvalonDock.Themes.VS2010.dll<\/li>\n<li>Xceed.Wpf.Toolkit.dll<\/li>\n<\/ul>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13009 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_7.png\" alt=\"\" width=\"580\" height=\"109\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_7.png 580w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ExtendedWpfToolkit\/ColorPicker_7-300x56.png 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\"><\/a><\/p>\n<p>\u500b\u4eba\u7684\u306b\u306f\u30fb\u30fb\u30fb\uff11\u3064\u304b\uff12\u3064\u304f\u3089\u3044\u306b\u307e\u3068\u3081\u3066\u307b\u3057\u3044\u306a\u3002Xceed.Wpf.Toolkit.dll \u4ee5\u5916\u306f\u5fc5\u305a\u3057\u3082\u5fc5\u8981\u3067\u306f\u306a\u3044\u6c17\u3082\u3059\u308b\u3093\u3060\u3051\u3069\u30fb\u30fb\u30fb\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WPF \u306e\u6a19\u6e96\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306b\u306f Forms \u306e ColorDialog \u306b\u76f8\u5f53\u3059\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u305b\u3093\u3002 Forms \u306e ColorDialog \u3092 WPF \u3067\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u308b\u308f\u3051\u3067\u3059\u304c\u30fb\u30fb\u30fb\u3042\u307e\u308a\u6c17\u6301\u3061\u826f\u304f\u306a\u3044\u3058\u3083\u306a\u3044\u3067\u3059 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[57],"tags":[60,62],"class_list":{"0":"post-12894","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-57","8":"tag-vb-net","9":"tag-wpf"},"_links":{"self":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/12894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12894"}],"version-history":[{"count":3,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/12894\/revisions"}],"predecessor-version":[{"id":13010,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/12894\/revisions\/13010"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/media\/2656"}],"wp:attachment":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}