<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: custom resources.dll file containing images in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329239#M10403</link>
    <description>I looked at the dark / light theme for custom controls. I just want to grab my icons from a separate resources dll just like it mentions in the link above. I'm not changing theme colours and that example did not make anything clearer for me.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Sep 2023 19:22:21 GMT</pubDate>
    <dc:creator>JonathanDewalt</dc:creator>
    <dc:date>2023-09-15T19:22:21Z</dc:date>
    <item>
      <title>custom resources.dll file containing images</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329181#M10401</link>
      <description>&lt;P&gt;I have a custom resources.dll file that contains both Images and DarkImages.&amp;nbsp; When i reference and use images from this dll, it appears to only use the light themed images from the Images folder and ignores the DarkImages.&amp;nbsp; Does anyone know what needs to be done to make use of both image versions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dll is referenced following this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-content-and-image-resources" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-content-and-image-resources#using-images-from-a-custom-resource-dllhttps://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-content-and-image-resources&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 17:46:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329181#M10401</guid>
      <dc:creator>JonathanDewalt</dc:creator>
      <dc:date>2023-09-15T17:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: custom resources.dll file containing images</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329196#M10402</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to create dark and light themes as in Esri ArcGIS Pro community &lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/CustomStyling" target="_self"&gt;sample&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 18:13:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329196#M10402</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-09-15T18:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: custom resources.dll file containing images</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329239#M10403</link>
      <description>I looked at the dark / light theme for custom controls. I just want to grab my icons from a separate resources dll just like it mentions in the link above. I'm not changing theme colours and that example did not make anything clearer for me.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Sep 2023 19:22:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329239#M10403</guid>
      <dc:creator>JonathanDewalt</dc:creator>
      <dc:date>2023-09-15T19:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: custom resources.dll file containing images</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329252#M10404</link>
      <description>&lt;P&gt;Another way is to check what theme is loaded in ArcGIS Pro and load different resource dll depending on theme.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic10163.html" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic10163.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 19:35:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329252#M10404</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-09-15T19:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: custom resources.dll file containing images</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329256#M10405</link>
      <description>That would work if I create two separate resource.dll files, one for light and one for dark. Currently I have one dll that has both light and dark image collections(Images / DarkImages) but Pro is only pulling images from the Image folder regardless whether in light or dark mode. Not sure if something extra is required in the resource file to tell it to use the darkimages folder&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Sep 2023 19:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329256#M10405</guid>
      <dc:creator>JonathanDewalt</dc:creator>
      <dc:date>2023-09-15T19:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: custom resources.dll file containing images</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329270#M10406</link>
      <description>&lt;P&gt;You ask about things that are not part of ArcGIS Pro. It is WPF part. You need to create different resource dictionaries for each theme. Each theme dictionary must contain images for current theme&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/windows/apps/design/style/xaml-theme-resources" target="_self"&gt;https://learn.microsoft.com/en-us/windows/apps/design/style/xaml-theme-resources&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;ResourceDictionary&amp;gt;
  &amp;lt;ResourceDictionary.ThemeDictionaries&amp;gt;
    &amp;lt;ResourceDictionary x:Key="Light"&amp;gt;
      &amp;lt;SolidColorBrush x:Key="myBrush" Color="{StaticResource ControlFillColorDefault}"/&amp;gt;
      &amp;lt;BitmapImage x:Key="Connected" UriSource="/Image/connected.png"/&amp;gt;
    &amp;lt;/ResourceDictionary&amp;gt;
    &amp;lt;ResourceDictionary x:Key="Dark"&amp;gt;
      &amp;lt;SolidColorBrush x:Key="myBrush" Color="{StaticResource ControlFillColorDefault}"/&amp;gt;
      &amp;lt;BitmapImage x:Key="Connected" UriSource="/DarkImage/connected.png"/&amp;gt;
    &amp;lt;/ResourceDictionary&amp;gt;
  &amp;lt;/ResourceDictionary.ThemeDictionaries&amp;gt;
&amp;lt;/ResourceDictionary&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 20:16:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329270#M10406</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-09-15T20:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: custom resources.dll file containing images</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329279#M10407</link>
      <description>Ok..So this link pretty much is usless for making use of icons sets in a custom dll.&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-content-and-image-resources#using-images-from-a-custom-resource-dll" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-content-and-image-resources#using-images-from-a-custom-resource-dll&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Sep 2023 20:26:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/custom-resources-dll-file-containing-images/m-p/1329279#M10407</guid>
      <dc:creator>JonathanDewalt</dc:creator>
      <dc:date>2023-09-15T20:26:21Z</dc:date>
    </item>
  </channel>
</rss>

