AnsweredAssumed Answered

ProWindow wait cursor

Question asked by bulla_b on Apr 11, 2018
Latest reply on Apr 12, 2018 by cmacleod-esristaff

Hi,

 

I'm following the SDK community samples and opening up a Window (styled as a ProWindow) from the click event of a button.  The Window opens fine, and is in the esri style, but the cursor only displays on the form as a 'wait' cursor.  Does anyone know what might be happening?

 

My code is fairly simple.  To open the Window:

 

 

To style my Window:

 

<controls:ProWindow x:Class="AddressPointSelector_ArcPro.AddressWindow"
             xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:extensions="clr-namespace:ArcGIS.Desktop.Extensions;assembly=ArcGIS.Desktop.Extensions"
             mc:Ignorable="d"
             Title="Address Tool"
             d:DesignHeight="300" d:DesignWidth="300">

   
        <controls:ProWindow.Resources>
            <ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                    <extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/>
                </ResourceDictionary.MergedDictionaries>
            </ResourceDictionary>
        </controls:ProWindow.Resources>

        <Grid>

        </Grid>
</controls:ProWindow>

 

 

Thanks!

Outcomes