<?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 Selecting graphics within a graphics layer rendered by the DictionaryRenderer in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109848#M450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an app that's using the MessageProcessor object to receive military entities as messages, turn them into graphics and add them to the MessageGroupLayer graphics layers group. I need to implement selections on those graphics, but since they're rendered in the Accelerated mode, I cannot create a ControlTemplate for their Selected and Unselected visual states.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I realize that I can change the symbol to a different one manually (after changing the RendererTakesPrecedence property to false), but I wondered if there is any manner that is more "conventional" for handling selections when using this type of renderer - or in short - what's the "by-design" manner to handle it according to Esri? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or maybe a way to draw some sort of a contour line around the selected symbols?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Sep 2012 15:35:46 GMT</pubDate>
    <dc:creator>MiriRevivo</dc:creator>
    <dc:date>2012-09-29T15:35:46Z</dc:date>
    <item>
      <title>Selecting graphics within a graphics layer rendered by the DictionaryRenderer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109848#M450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an app that's using the MessageProcessor object to receive military entities as messages, turn them into graphics and add them to the MessageGroupLayer graphics layers group. I need to implement selections on those graphics, but since they're rendered in the Accelerated mode, I cannot create a ControlTemplate for their Selected and Unselected visual states.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I realize that I can change the symbol to a different one manually (after changing the RendererTakesPrecedence property to false), but I wondered if there is any manner that is more "conventional" for handling selections when using this type of renderer - or in short - what's the "by-design" manner to handle it according to Esri? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or maybe a way to draw some sort of a contour line around the selected symbols?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2012 15:35:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109848#M450</guid>
      <dc:creator>MiriRevivo</dc:creator>
      <dc:date>2012-09-29T15:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting graphics within a graphics layer rendered by the DictionaryRenderer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109849#M451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Miri,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately it's currently not possible to select messages/symbols processed via the MessageProcessor. However we are planning to add this in a future release - it would really help us if you could provide some information on how you would like the selections to work in your app? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. Is it enough to support a select/highlight action within the message?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or would you like to be able to support additional app/user-level interaction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Manual user selection (click, drag rectangle, etc)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- User/app selection based on attribute query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- User/app selection based on spatial query - rectangle? irregular polygons?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're not keen to post the information on the forums then please email me at &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:mbranscomb@esri.com"&gt;mbranscomb@esri.com&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 09:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109849#M451</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2012-10-01T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting graphics within a graphics layer rendered by the DictionaryRenderer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109850#M452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate your quick reply, thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually the second manner is the one we are going to need, since the messages themselves come from various sources, and we need to be able to control them visually within the application's scope, on the client side, according to whatever business logic is relevant to each of them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's exactly what I'm trying to implement right now - selections according to spatial and alphanumeric queries. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the mean time, I've been trying to make the unselected graphics to have a different opacity value than the ones that are selected, but ran into a problem there as well, since the MultiLayerSymbol does not support it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you could suggest an idea as to how to control the opacity of individual graphics within the message group layer - that would be awesome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 12:14:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109850#M452</guid>
      <dc:creator>MiriRevivo</dc:creator>
      <dc:date>2012-10-01T12:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting graphics within a graphics layer rendered by the DictionaryRenderer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109851#M453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well I've worked around the selection and opacity issues for now by turning the original message layer almost transparent, and adding the selected graphics to a message group layer that only serves for selection purposes and that has the opacity value set to 1.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not that elegant, to say the least, but that's the only thing that worked while maintaining the military symbology of the selected graphics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has a different suggestion - I'd be more than happy to hear it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Miri.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 13:37:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109851#M453</guid>
      <dc:creator>MiriRevivo</dc:creator>
      <dc:date>2012-10-03T13:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting graphics within a graphics layer rendered by the DictionaryRenderer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109852#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like you have found a workable solution. The MessageGroupLayer manages it's own collection of GraphicsLayers and therefore it's not advisable to attempt to work with these GraphicsLayers/Graphics directly. Instead the MessageGroupLayer should be considered something of a "black box".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are planning to add some highlight behaviour to the MessageProcessor for the next release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 11:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/selecting-graphics-within-a-graphics-layer/m-p/109852#M454</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2012-10-04T11:51:48Z</dc:date>
    </item>
  </channel>
</rss>

