<?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 Change VisualState of Graphic from Code-Behind in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/change-visualstate-of-graphic-from-code-behind/m-p/338599#M8702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to work out independent &lt;/SPAN&gt;&lt;STRONG&gt; roll-over &lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;click &lt;/STRONG&gt;&lt;SPAN&gt;behavior between rows in a DataGrid and graphics on a GraphicsLayer, where GraphicsLayer and DataGrid have same data source.&amp;nbsp; The &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#SpatialQuery" rel="nofollow noopener noreferrer" target="_blank"&gt;Spatial Query sample &lt;/A&gt;&lt;SPAN&gt;comes close, however it &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;selects &lt;/SPAN&gt;&lt;SPAN&gt;on mouseover rather than just &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;highlighting&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp; I don't want to do this because I want to select only on a click, and want to maintain that selction regardless of what features are rolled over with the mouse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the behavior I want is (the hard part is the highlighting - the selection is actually pretty easy):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Clicking on a graphic SELECTS the corresponding row in datagrid.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Clicking on a row in datagrid SELECTS the corresponding graphic.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Mouseover a graphic highlights (but does not select) the corresponding row in datagrid.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Mouseover a row in datagrid highlights (but does not select) the corresponding graphic.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;I almost have this working - I &lt;/SPAN&gt;&lt;STRONG&gt;am &lt;/STRONG&gt;&lt;SPAN&gt;able to change the visual state of the DataGrid when rolling over a graphic, using VisualStateManager. However I cannot do the same to change graphic's visual state on DataGrid row rollover, because &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VisualStateManager.GoToState requires a Control as input and Graphic inherits from DependencyObject.&amp;nbsp; So is there some other way to set the graphic's visual state?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the MouseEnter/Leave events for the Graphic, to set the DataGridRow - these work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private void graphicsLayer_MouseLeave(object sender, GraphicMouseEventArgs e)
{
 DataGridRow row = getDataGridRowByDataContext(dgGeofences, e.Graphic);
 if (dgGeofences.SelectedItem == e.Graphic)
&amp;nbsp; VisualStateManager.GoToState(row, "Normal Selected", true);
 else
&amp;nbsp; VisualStateManager.GoToState(row, "Normal", true);
}

private void graphicsLayer_MouseEnter(object sender, GraphicMouseEventArgs e)
{
 // Highlight on rollover
 DataGridRow row = getDataGridRowByDataContext(dgGeofences, e.Graphic);
 VisualStateManager.GoToState(row, "MouseOver", true);
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what I want to do for the MouseEnter/Leave events for the DataGridRow - but cannot pass graphic to VisualStateManager:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private void Row_MouseLeave(object sender, MouseEventArgs e)
{
 DataGridRow row = sender as DataGridRow;
 Graphic graphic = row.DataContext as Graphic;
 VisualStateManager.GoToState(graphic, "Normal", true); // Compile Error - graphic is not a Control
}

private void Row_MouseEnter(object sender, MouseEventArgs e)
{
 DataGridRow row = sender as DataGridRow;
 Graphic graphic = row.DataContext as Graphic;
 VisualStateManager.GoToState(graphic, "MouseOver", true); // Compile Error - graphic is not a Control
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the sake of completeness, here is the method I use to get the DataGridRow corresponding to a graphic (this turned out to be tricky in and of itself, but I found this approach online):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private DataGridRow getDataGridRowByDataContext(DataGrid dataGrid, object dataContext) {
 if (null != dataContext)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; dataGrid.ScrollIntoView(dataContext, null);
&amp;nbsp; DataGridAutomationPeer automationPeer = (DataGridAutomationPeer)DataGridAutomationPeer.CreatePeerForElement(dataGrid);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; // Get the DataGridRowsPresenterAutomationPeer so we can find the rows in the data grid...
&amp;nbsp; DataGridRowsPresenterAutomationPeer dataGridRowsPresenterAutomationPeer = automationPeer.GetChildren().Where(a =&amp;gt; (a is DataGridRowsPresenterAutomationPeer)).Select(a =&amp;gt; (a as DataGridRowsPresenterAutomationPeer)).FirstOrDefault();
&amp;nbsp; if (null != dataGridRowsPresenterAutomationPeer)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; foreach (var item in dataGridRowsPresenterAutomationPeer.GetChildren())&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // loop to find the DataGridCellAutomationPeer from which we can interrogate the owner -- which is a DataGridRow
&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var subitem in (item as DataGridItemAutomationPeer).GetChildren())
&amp;nbsp;&amp;nbsp;&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((subitem is DataGridCellAutomationPeer))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // At last -- the only public method for finding a row.... 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataGridRow row = DataGridRow.GetRowContainingElement(((subitem as DataGridCellAutomationPeer).Owner as FrameworkElement)); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // check this row to see if it is bound to the requested dataContext.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((row.DataContext) == dataContext) 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return row; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break; // Only need to check one cell in each row 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
 } 
 return null; 
} &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 16:01:21 GMT</pubDate>
    <dc:creator>DavidMarley</dc:creator>
    <dc:date>2021-12-11T16:01:21Z</dc:date>
    <item>
      <title>Change VisualState of Graphic from Code-Behind</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/change-visualstate-of-graphic-from-code-behind/m-p/338599#M8702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to work out independent &lt;/SPAN&gt;&lt;STRONG&gt; roll-over &lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;click &lt;/STRONG&gt;&lt;SPAN&gt;behavior between rows in a DataGrid and graphics on a GraphicsLayer, where GraphicsLayer and DataGrid have same data source.&amp;nbsp; The &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#SpatialQuery" rel="nofollow noopener noreferrer" target="_blank"&gt;Spatial Query sample &lt;/A&gt;&lt;SPAN&gt;comes close, however it &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;selects &lt;/SPAN&gt;&lt;SPAN&gt;on mouseover rather than just &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;highlighting&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp; I don't want to do this because I want to select only on a click, and want to maintain that selction regardless of what features are rolled over with the mouse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the behavior I want is (the hard part is the highlighting - the selection is actually pretty easy):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Clicking on a graphic SELECTS the corresponding row in datagrid.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Clicking on a row in datagrid SELECTS the corresponding graphic.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Mouseover a graphic highlights (but does not select) the corresponding row in datagrid.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Mouseover a row in datagrid highlights (but does not select) the corresponding graphic.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;I almost have this working - I &lt;/SPAN&gt;&lt;STRONG&gt;am &lt;/STRONG&gt;&lt;SPAN&gt;able to change the visual state of the DataGrid when rolling over a graphic, using VisualStateManager. However I cannot do the same to change graphic's visual state on DataGrid row rollover, because &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VisualStateManager.GoToState requires a Control as input and Graphic inherits from DependencyObject.&amp;nbsp; So is there some other way to set the graphic's visual state?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the MouseEnter/Leave events for the Graphic, to set the DataGridRow - these work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private void graphicsLayer_MouseLeave(object sender, GraphicMouseEventArgs e)
{
 DataGridRow row = getDataGridRowByDataContext(dgGeofences, e.Graphic);
 if (dgGeofences.SelectedItem == e.Graphic)
&amp;nbsp; VisualStateManager.GoToState(row, "Normal Selected", true);
 else
&amp;nbsp; VisualStateManager.GoToState(row, "Normal", true);
}

private void graphicsLayer_MouseEnter(object sender, GraphicMouseEventArgs e)
{
 // Highlight on rollover
 DataGridRow row = getDataGridRowByDataContext(dgGeofences, e.Graphic);
 VisualStateManager.GoToState(row, "MouseOver", true);
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what I want to do for the MouseEnter/Leave events for the DataGridRow - but cannot pass graphic to VisualStateManager:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private void Row_MouseLeave(object sender, MouseEventArgs e)
{
 DataGridRow row = sender as DataGridRow;
 Graphic graphic = row.DataContext as Graphic;
 VisualStateManager.GoToState(graphic, "Normal", true); // Compile Error - graphic is not a Control
}

private void Row_MouseEnter(object sender, MouseEventArgs e)
{
 DataGridRow row = sender as DataGridRow;
 Graphic graphic = row.DataContext as Graphic;
 VisualStateManager.GoToState(graphic, "MouseOver", true); // Compile Error - graphic is not a Control
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the sake of completeness, here is the method I use to get the DataGridRow corresponding to a graphic (this turned out to be tricky in and of itself, but I found this approach online):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private DataGridRow getDataGridRowByDataContext(DataGrid dataGrid, object dataContext) {
 if (null != dataContext)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; dataGrid.ScrollIntoView(dataContext, null);
&amp;nbsp; DataGridAutomationPeer automationPeer = (DataGridAutomationPeer)DataGridAutomationPeer.CreatePeerForElement(dataGrid);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; // Get the DataGridRowsPresenterAutomationPeer so we can find the rows in the data grid...
&amp;nbsp; DataGridRowsPresenterAutomationPeer dataGridRowsPresenterAutomationPeer = automationPeer.GetChildren().Where(a =&amp;gt; (a is DataGridRowsPresenterAutomationPeer)).Select(a =&amp;gt; (a as DataGridRowsPresenterAutomationPeer)).FirstOrDefault();
&amp;nbsp; if (null != dataGridRowsPresenterAutomationPeer)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; foreach (var item in dataGridRowsPresenterAutomationPeer.GetChildren())&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // loop to find the DataGridCellAutomationPeer from which we can interrogate the owner -- which is a DataGridRow
&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var subitem in (item as DataGridItemAutomationPeer).GetChildren())
&amp;nbsp;&amp;nbsp;&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((subitem is DataGridCellAutomationPeer))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // At last -- the only public method for finding a row.... 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataGridRow row = DataGridRow.GetRowContainingElement(((subitem as DataGridCellAutomationPeer).Owner as FrameworkElement)); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // check this row to see if it is bound to the requested dataContext.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((row.DataContext) == dataContext) 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return row; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break; // Only need to check one cell in each row 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
 } 
 return null; 
} &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/change-visualstate-of-graphic-from-code-behind/m-p/338599#M8702</guid>
      <dc:creator>DavidMarley</dc:creator>
      <dc:date>2021-12-11T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change VisualState of Graphic from Code-Behind</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/change-visualstate-of-graphic-from-code-behind/m-p/338600#M8703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AFAIK there is no way to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem being to get the underlying UI element under a graphic. But maybe someone found out a hack!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2012 08:08:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/change-visualstate-of-graphic-from-code-behind/m-p/338600#M8703</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-08-27T08:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change VisualState of Graphic from Code-Behind</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/change-visualstate-of-graphic-from-code-behind/m-p/338601#M8704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Dominique - I think you are right...the challenge is getting a reference to the underlying UI element, if even possible.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the moment I just bailed on the highlight/rollover behavior.&amp;nbsp; Plus I have other ways I could do it - for example with a separate graphics layer and graphics specifically for highlighting...though that has its own wrinkles and adds some extra complexity.&amp;nbsp; I was hoping for a cleaner solution just by manipuating visual states but I at the moment that's not looking like a workable solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2012 12:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/change-visualstate-of-graphic-from-code-behind/m-p/338601#M8704</guid>
      <dc:creator>DavidMarley</dc:creator>
      <dc:date>2012-08-27T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change VisualState of Graphic from Code-Behind</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/change-visualstate-of-graphic-from-code-behind/m-p/338602#M8705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for bringing up an ols thread - but i came across the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have polygons in a feature layer - and i want to change their color to be blinking when i change some property from code behind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am using custom FillMarker with storboard that can make the blinking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i was thinking about using visualStateGroup of my own - and to change the graphic StateGroup from the code behind - but i can't find a way to change that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any suggestion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the only thing i came up with so far - which is not a very pretty workaround - is to change the graphic symbol to be the blinking symbol - and set a timer for a few seconds, and then change the symbol back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Team Igal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 10:38:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/change-visualstate-of-graphic-from-code-behind/m-p/338602#M8705</guid>
      <dc:creator>teamIgal</dc:creator>
      <dc:date>2013-06-04T10:38:03Z</dc:date>
    </item>
  </channel>
</rss>

