<?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: Setting color to MultilayerSymbol possible bug in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/setting-color-to-multilayersymbol-possible-bug/m-p/1495107#M12803</link>
    <description>&lt;P&gt;I am unable to reproduce the behavior. If you can share symbol's json I will be more than happy to look at it further.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2024 21:06:13 GMT</pubDate>
    <dc:creator>PreetiMaske</dc:creator>
    <dc:date>2024-06-19T21:06:13Z</dc:date>
    <item>
      <title>Setting color to MultilayerSymbol possible bug</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/setting-color-to-multilayersymbol-possible-bug/m-p/1494877#M12799</link>
      <description>&lt;P&gt;Im using Esri version 100.15.4&lt;BR /&gt;&lt;BR /&gt;I have a MultiLayerSymbol that is built like this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ofirrosner_0-1718797096515.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107418i19C0EACCC94FC607/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ofirrosner_0-1718797096515.png" alt="ofirrosner_0-1718797096515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To Change the color i do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private void Work(MultilayerSymbol symbol, Color color)
{
   symbol.color = color
   foreach(var symbolLayer in symbol.SymbolLayers)
   {
       if(!symbolLayer is VectorMarkerSymbolLayer vectorMarkerSymbolLayer)) continue;
foreach(var vectorMarkerSymbolElement in vectorMarkerSymbolLayer.VectorMarkerSymbolElements)
      {
           Work(vectorMarkerSymbolElement.Symbol, color)
      }
   }

}​&lt;/LI-CODE&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason&amp;nbsp;&lt;SPAN&gt;the Color property of&amp;nbsp;SolidFillSymbolLayer isnt changing&lt;BR /&gt;&lt;BR /&gt;P.S&lt;BR /&gt;event doing&lt;BR /&gt;symbol.Color = color; without the recursion yields the same result&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 12:03:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/setting-color-to-multilayersymbol-possible-bug/m-p/1494877#M12799</guid>
      <dc:creator>ofirrosner</dc:creator>
      <dc:date>2024-06-19T12:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Setting color to MultilayerSymbol possible bug</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/setting-color-to-multilayersymbol-possible-bug/m-p/1495107#M12803</link>
      <description>&lt;P&gt;I am unable to reproduce the behavior. If you can share symbol's json I will be more than happy to look at it further.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 21:06:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/setting-color-to-multilayersymbol-possible-bug/m-p/1495107#M12803</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2024-06-19T21:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setting color to MultilayerSymbol possible bug</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/setting-color-to-multilayersymbol-possible-bug/m-p/1495434#M12812</link>
      <description>&lt;P&gt;Sadly i cannot share&lt;BR /&gt;but i managed to solved =&amp;gt; i used ArcGis 2.8 and created the symbols again from similar examples from app6&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 15:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/setting-color-to-multilayersymbol-possible-bug/m-p/1495434#M12812</guid>
      <dc:creator>ofirrosner</dc:creator>
      <dc:date>2024-06-20T15:53:51Z</dc:date>
    </item>
  </channel>
</rss>

