Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>My guess is that the CircularProgressBar is actually causing the Black background. The only other way that this could happen is if there was a Style or something set on one of the controls (Popup or StackPanel or...).</p> <p>Here is a quick-n-dirty example that shows a TextBlock in a popup when a checkbox is checked. The colors chosen are just to make sure things stand out visually:</p> <pre><code>&lt;StackPanel x:Name="stackPanelLayout"&gt; &lt;StackPanel.Background&gt; &lt;RadialGradientBrush Center="0.75, 0.75" SpreadMethod="Reflect"&gt; &lt;GradientStop Color="LightBlue" Offset="0" /&gt; &lt;GradientStop Color="SeaGreen" Offset="0.5" /&gt; &lt;GradientStop Color="MidnightBlue" Offset="0.75" /&gt; &lt;/RadialGradientBrush&gt; &lt;/StackPanel.Background&gt; &lt;CheckBox x:Name="chkShowPopup" FontSize="20" Foreground="White" Content="Show Popup" /&gt; &lt;Popup PlacementTarget="{Binding ElementName=stackPanelLayout}" Placement="Center" IsOpen="{Binding ElementName=chkShowPopup, Path=IsChecked}" Name="m_popWaitNotifier" PopupAnimation="Slide" AllowsTransparency="True"&gt; &lt;StackPanel Orientation="Vertical" Background="Transparent"&gt; &lt;TextBlock Foreground="White" FontSize="30" FontWeight="Bold" Text="PopUp" /&gt; &lt;/StackPanel&gt; &lt;/Popup&gt; &lt;/StackPanel&gt; </code></pre> <p>So, two tests you can do to determine what is happening:</p> <ol> <li>Replace the CircularProgressBar with a simple TextBlock or other control that you don't have a Style applied to.</li> <li>Put the CircularProgressBar as a standalone control somewhere on your window, or on an otherwise blank test Window.</li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload