<?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: Cannot create WPF Window in ArcGIS Pro Managed Configuration in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857055#M4553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is also possible to open an ArcGIS Pro ProWindow (Add New Item - ArcGIS - ArcGIS Pro Add-ins).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2020 16:06:09 GMT</pubDate>
    <dc:creator>BarbaraSchneider2</dc:creator>
    <dc:date>2020-01-20T16:06:09Z</dc:date>
    <item>
      <title>Cannot create WPF Window in ArcGIS Pro Managed Configuration</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857052#M4550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created an ArcGIS Pro Managed Configuration. I now want to add a WPF Window:&lt;/P&gt;&lt;P&gt;1. Right click on project - Add new item&lt;/P&gt;&lt;P&gt;2. Expand Visual C# Items - Select WPF&lt;/P&gt;&lt;P&gt;--&amp;gt; only a User Control (WPF) appears, no Window (WPF), Page (WPF), and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to use an ArcGIS Pro ProWindow instead?&lt;/P&gt;&lt;P&gt;I'm just wondering because a WPF Window is added in the following ProGuide:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-License-Your-Add-in" title="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-License-Your-Add-in"&gt;ProGuide License Your Add in · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 10:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857052#M4550</guid>
      <dc:creator>BarbaraSchneider2</dc:creator>
      <dc:date>2020-01-17T10:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create WPF Window in ArcGIS Pro Managed Configuration</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857053#M4551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara,&lt;/P&gt;&lt;P&gt;I think it is project type problem. I checked on my project and it works as you wrote.&lt;/P&gt;&lt;P&gt;I have copied splashscreen window xaml and code from ArcGIS Pro sample and changed as I needed. Or you can create ArcGIS Pro add-in project, create wpf window in it and then copy files to configuration project.&lt;/P&gt;&lt;P&gt;I have not tried to use ProWindow class in configuration project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 13:37:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857053#M4551</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2020-01-17T13:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create WPF Window in ArcGIS Pro Managed Configuration</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857054#M4552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hi Barbara,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;Gintautas' assessment of your issue is correct.&amp;nbsp; If you open the configuration project file in a text editor (or edit with Visual Studio) you can insert the following line under the first PropertyGroup tag:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="line-numbers language-markup"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;ProjectTypeGuids&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;ProjectTypeGuids&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;After&amp;nbsp;you reopen the project in Visual Studio you can now add&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;WPF windows.&amp;nbsp; In case you are unsure about the edits you can open an Add-in Module project file in a text editor and take a look at the&amp;nbsp;ProjectTypeGuids line there.&amp;nbsp; Add-in Modules allow you to add WPF windows.&amp;nbsp; We will update the project templates for the 2.5 release.&amp;nbsp; Thanks for pointing this out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;- Wolf&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 19:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857054#M4552</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2020-01-17T19:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create WPF Window in ArcGIS Pro Managed Configuration</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857055#M4553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is also possible to open an ArcGIS Pro ProWindow (Add New Item - ArcGIS - ArcGIS Pro Add-ins).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 16:06:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857055#M4553</guid>
      <dc:creator>BarbaraSchneider2</dc:creator>
      <dc:date>2020-01-20T16:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create WPF Window in ArcGIS Pro Managed Configuration</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857056#M4554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara, ProWindow is the preferred window implementation because Pro styling and required behavior (like coming to the foreground when Pro is active) are implemented in ProWindow.&amp;nbsp; You can see the difference between ProWindow and WPF window when using the dark theme in this screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/478901_ProWindow.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 16:56:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/cannot-create-wpf-window-in-arcgis-pro-managed/m-p/857056#M4554</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2020-01-21T16:56:02Z</dc:date>
    </item>
  </channel>
</rss>

