<?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 Custom Widget with FeatureDataGrid in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-with-featuredatagrid/m-p/419232#M2377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to put a FeatureDataGrid in a custom Widget and hook it up to a MapWidget.Map graphics layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2014 17:00:45 GMT</pubDate>
    <dc:creator>JosephMcCausland</dc:creator>
    <dc:date>2014-04-04T17:00:45Z</dc:date>
    <item>
      <title>Custom Widget with FeatureDataGrid</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-with-featuredatagrid/m-p/419232#M2377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to put a FeatureDataGrid in a custom Widget and hook it up to a MapWidget.Map graphics layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-with-featuredatagrid/m-p/419232#M2377</guid>
      <dc:creator>JosephMcCausland</dc:creator>
      <dc:date>2014-04-04T17:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Widget with FeatureDataGrid</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-with-featuredatagrid/m-p/419233#M2378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joseph, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes you can do that. Indeed, we have a sample widget in Esri GitHub that does a similar function. You can find the widget from &lt;/SPAN&gt;&lt;A href="https://github.com/Esri/table-searchnearby-zoom"&gt;here&lt;/A&gt;&lt;SPAN&gt; then look at the code inside the Widget_Table folder. You will need to make a few slight changes to the code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Add reference to ESRI.ArcGIS.Client.Toolkit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. In TableWidget.xaml, add the namespace &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;SPAN&gt;xmlns:esri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.esri.com/arcgis/client/2009" rel="nofollow" target="_blank"&gt;http://schemas.esri.com/arcgis/client/2009&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Change the &amp;lt;DataGrid&amp;gt; tag in the above file to &amp;lt;esri.FeatureDataGrid&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. If your version of the WPF SDK is not 10.1.1, please also update the OperationsDashboardAddIns.csproj file by replacing the 4 occurances of "ArcGISRuntimeWPF10.1.1" with your version of the SDK &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;e.g. registry:HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISRuntimeWPF10.2.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can put other functionality to your custom widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your question about adding graphics to your map, you can take a look at the DriveTimesFeatureAction addin that comes with the WPF SDK. The typical location of that sample is: C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.2\sdk\samples\sampleapplication\Operations Dashboard Samples\DriveTimesFeatureActionCS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more information about feature data grid and adding graphics, you can read:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-wpf/samples/index.html#//02q20000007q000000"&gt;http://resources.arcgis.com/en/help/runtime-wpf/samples/index.html#//02q20000007q000000&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-wpf/concepts/index.html#/Adding_temporary_graphics/0170000000mp000000/"&gt;http://resources.arcgis.com/en/help/runtime-wpf/concepts/index.html#/Adding_temporary_graphics/0170000000mp000000/&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tif&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 21:28:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/custom-widget-with-featuredatagrid/m-p/419233#M2378</guid>
      <dc:creator>TifPun</dc:creator>
      <dc:date>2014-04-04T21:28:39Z</dc:date>
    </item>
  </channel>
</rss>

