<?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: ProWindow parent in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-parent/m-p/808123#M2268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Serban,&lt;/P&gt;&lt;P&gt;I do it in that way. My ProWindow Class:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;public&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;partial&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;TestWindow&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; : ProWindow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;Creating new window:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; testWindow = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; TestWindow();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;testWindow.Owner = FrameworkApplication.Current.MainWindow;&lt;/P&gt;&lt;P&gt;testWindow.ShowDialog();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Sep 2019 09:07:52 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2019-09-09T09:07:52Z</dc:date>
    <item>
      <title>ProWindow parent</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-parent/m-p/808122#M2267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that using the default constructor for a ProWindow will generate an object that has its Parent field null. This means using&amp;nbsp;WindowStartupLocation on that object has no effect and the following code doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var wnd = new ProWindow();&lt;BR /&gt; wnd.WindowStartupLocation = WindowStartupLocation.CenterScreen;&lt;BR /&gt;wnd.Show();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to create a ProWindow object that does have a reference to its parent? Is there an alternative to force WindowStartupLocation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 20:18:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-parent/m-p/808122#M2267</guid>
      <dc:creator>serbanmarin1</dc:creator>
      <dc:date>2019-09-06T20:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: ProWindow parent</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-parent/m-p/808123#M2268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Serban,&lt;/P&gt;&lt;P&gt;I do it in that way. My ProWindow Class:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;public&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;partial&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;TestWindow&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; : ProWindow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;Creating new window:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; testWindow = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; TestWindow();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;testWindow.Owner = FrameworkApplication.Current.MainWindow;&lt;/P&gt;&lt;P&gt;testWindow.ShowDialog();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 09:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/prowindow-parent/m-p/808123#M2268</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2019-09-09T09:07:52Z</dc:date>
    </item>
  </channel>
</rss>

