<?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: how to get graphic for focused area in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248778#M6498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh you must be using WPF! It was the only way I could get the graphics to get focus through tab event. Unfortunately, this seems to be a bug. The graphics should not be receiving focus through tab event. This might be something that needs to go away in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2011 16:49:56 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-04-06T16:49:56Z</dc:date>
    <item>
      <title>how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248773#M6493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When tabbing on map, I can see the focus (dotted rectangle) moves between areas. I want to implement an event handler to handle key down event so that when I tab thru states for instance, and hit Ctrl + Space, I select that graphic.&amp;nbsp; How do I get the gragphic for that focused area?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 18:26:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248773#M6493</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-02-28T18:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248774#M6494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When tabbing on map, I can see the focus (dotted rectangle) moves between areas. I want to implement an event handler to handle key down event so that when I tab thru states for instance, and hit Ctrl + Space, I select that graphic.&amp;nbsp; How do I get the gragphic for that focused area?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any answer to this question?&amp;nbsp; Or there is no way to know the graphic associated with the focus?&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 15:39:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248774#M6494</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-03-22T15:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248775#M6495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think this is possible, unless your symbol template includes controls. TabIndex is a property of Control. Shapes, like Rectangle, do not have this property. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try this SDK sample: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ElementLayer"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ElementLayer&lt;/A&gt;&lt;SPAN&gt;. Notice that even in an Element layer, you can only tab through some features (button and textbox).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 18:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248775#M6495</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-03-22T18:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248776#M6496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I don't think this is possible, unless your symbol template includes controls. TabIndex is a property of Control. Shapes, like Rectangle, do not have this property. &lt;BR /&gt;&lt;BR /&gt;You can try this SDK sample: &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ElementLayer"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ElementLayer&lt;/A&gt;. Notice that even in an Element layer, you can only tab through some features (button and textbox).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't implement the tabing function to my features.&amp;nbsp; I just noticed that I was able to tab through my features added to my graphic layer.&amp;nbsp; I just want to get the graphic where the tab stops.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 11:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248776#M6496</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-04-06T11:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248777#M6497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to make sure that my question is clear this time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is my map with a bounding box (in black) for Mountain region.&amp;nbsp; That is the result I get when I press tab key.&amp;nbsp; The bounding box moves to each feature in the order I add Graphic objects to the graphic map layer.&amp;nbsp; I can also move the bounding box through features by pressing Ctrl and arrow keys.&amp;nbsp; So, it must be something provided by Arcgis.&amp;nbsp; It is nice to have this fuction, but now, I need to get the feature where the bounding box is.&amp;nbsp; Can I do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is no way, will the feature be considered next release?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 14:20:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248777#M6497</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-04-06T14:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248778#M6498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh you must be using WPF! It was the only way I could get the graphics to get focus through tab event. Unfortunately, this seems to be a bug. The graphics should not be receiving focus through tab event. This might be something that needs to go away in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 16:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248778#M6498</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-04-06T16:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248779#M6499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Oh you must be using WPF! It was the only way I could get the graphics to get focus through tab event. Unfortunately, this seems to be a bug. The graphics should not be receiving focus through tab event. This might be something that needs to go away in the future.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I'm using WPF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, it's good to know the answer so that we decide what to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 18:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248779#M6499</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-04-06T18:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248780#M6500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, I'm using WPF.&lt;BR /&gt;OK, it's good to know the answer so that we decide what to do.&lt;BR /&gt;Thanks again!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I think again.&amp;nbsp; I think that an event handler was implemented for Graphic class because I am able to press Ctrl + arrow keys to move the bounding box, so it may not be a bug as you said :).&amp;nbsp; Would you please double check with the development team about this?&amp;nbsp; This is really important to us!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 19:09:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248780#M6500</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-04-06T19:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248781#M6501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I actually showed this to our Dev Lead yesterday and he thinks it's a bug. While you seem to be able to navigate through the graphics through tabbing or CTRL + Arrow keys, you are only getting the graphic element which is a control that is associated to the graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To demonstrate that this tab property is inherited from Control. You can try the following sample in your WPF application. Notice that you can tab through control items unless you set their IsTabStop to false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 &amp;lt;StackPanel&amp;gt;
&amp;nbsp; &amp;lt;StackPanel.Resources&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ControlTemplate x:Key="MyEllipse" TargetType="{x:Type Control}"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Ellipse Height="50" Width="50" Fill="Red"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/ControlTemplate&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ControlTemplate x:Key="MyRectangle" TargetType="{x:Type Control}"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Rectangle Height="50" Width="50" Fill="Blue"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/ControlTemplate&amp;gt;
&amp;nbsp; &amp;lt;/StackPanel.Resources&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Button Content="My Button"/&amp;gt;
&amp;nbsp; &amp;lt;ListBox&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ListBox.Items&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:String&amp;gt;item 1&amp;lt;/sys:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:String&amp;gt;item 2&amp;lt;/sys:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:String&amp;gt;item 3&amp;lt;/sys:String&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/ListBox.Items&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ListBox.ItemTemplate&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataTemplate&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TextBlock Text="{Binding}"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DataTemplate&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/ListBox.ItemTemplate&amp;gt;
&amp;nbsp; &amp;lt;/ListBox&amp;gt;
&amp;nbsp; &amp;lt;Control Template="{StaticResource MyEllipse}"/&amp;gt;
&amp;nbsp; &amp;lt;Control Template="{StaticResource MyRectangle}"/&amp;gt;&amp;nbsp; 
 &amp;lt;/StackPanel&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:22:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248781#M6501</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T12:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248782#M6502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I actually showed this to our Dev Lead yesterday and he thinks it's a bug. While you seem to be able to navigate through the graphics through tabbing or CTRL + Arrow keys, you are only getting the graphic element which is a control that is associated to the graphic.&lt;BR /&gt;&lt;BR /&gt;To demonstrate that this tab property is inherited from Control. You can try the following sample in your WPF application. Notice that you can tab through control items unless you set their IsTabStop to false.&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 &amp;lt;StackPanel&amp;gt;
&amp;nbsp; &amp;lt;StackPanel.Resources&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ControlTemplate x:Key="MyEllipse" TargetType="{x:Type Control}"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Ellipse Height="50" Width="50" Fill="Red"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/ControlTemplate&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ControlTemplate x:Key="MyRectangle" TargetType="{x:Type Control}"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Rectangle Height="50" Width="50" Fill="Blue"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/ControlTemplate&amp;gt;
&amp;nbsp; &amp;lt;/StackPanel.Resources&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Button Content="My Button"/&amp;gt;
&amp;nbsp; &amp;lt;ListBox&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ListBox.Items&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:String&amp;gt;item 1&amp;lt;/sys:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:String&amp;gt;item 2&amp;lt;/sys:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:String&amp;gt;item 3&amp;lt;/sys:String&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/ListBox.Items&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ListBox.ItemTemplate&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataTemplate&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TextBlock Text="{Binding}"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DataTemplate&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/ListBox.ItemTemplate&amp;gt;
&amp;nbsp; &amp;lt;/ListBox&amp;gt;
&amp;nbsp; &amp;lt;Control Template="{StaticResource MyEllipse}"/&amp;gt;
&amp;nbsp; &amp;lt;Control Template="{StaticResource MyRectangle}"/&amp;gt;&amp;nbsp; 
 &amp;lt;/StackPanel&amp;gt;
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&amp;nbsp; So, Graphic class has IsTabStop=true by default and it should be set to false?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it is a nice feature to have though.&amp;nbsp; If Arcgis can provide a function to grab graphic of the focused area, it would be helpful to consumers like us.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:22:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248782#M6502</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2021-12-11T12:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to get graphic for focused area</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248783#M6503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will forward your request to Morten for consideration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 14:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-get-graphic-for-focused-area/m-p/248783#M6503</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-04-08T14:02:37Z</dc:date>
    </item>
  </channel>
</rss>

