Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 96725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:52:05+00:00 2026-05-10T23:52:05+00:00

I have a window with 2 column grid. Left column contains a browser control

  • 0

I have a window with 2 column grid. Left column contains a browser control

I woould like to display a little window or something to show a that the webpage is still loading.

How could I do this?? Could I have a floating window in the 2nd column that shows in front of the browser??? please explain how?

Malcolm

Thanks bendwey works like a charm. Only thing can’t find a GIF that I could use that would show something moving/revolving or the like for the overlay any ideas where?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T23:52:06+00:00Added an answer on May 10, 2026 at 11:52 pm

    The way I have accomplished this is by creating a user control with exposed Show() and Hide() methods. Below is the code. Loading.xaml:

    <UserControl x:Class='UK.Budgeting.XBAP.Loading'     xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'     xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' Height='200'>   <UserControl.Resources>     <Color x:Key='FilledColor' A='255' B='155' R='155' G='155'/>     <Color x:Key='UnfilledColor' A='0' B='155' R='155' G='155'/>      <Storyboard x:Key='Animation0' FillBehavior='Stop' BeginTime='00:00:00.0' RepeatBehavior='Forever'>       <ColorAnimationUsingKeyFrames Storyboard.TargetName='_00' Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'>         <SplineColorKeyFrame KeyTime='00:00:00.0' Value='{StaticResource FilledColor}'/>         <SplineColorKeyFrame KeyTime='00:00:01.6' Value='{StaticResource UnfilledColor}'/>       </ColorAnimationUsingKeyFrames>     </Storyboard>      <Storyboard x:Key='Animation1' BeginTime='00:00:00.2' RepeatBehavior='Forever'>       <ColorAnimationUsingKeyFrames Storyboard.TargetName='_01' Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'>         <SplineColorKeyFrame KeyTime='00:00:00.0' Value='{StaticResource FilledColor}'/>         <SplineColorKeyFrame KeyTime='00:00:01.6' Value='{StaticResource UnfilledColor}'/>       </ColorAnimationUsingKeyFrames>     </Storyboard>      <Storyboard x:Key='Animation2' BeginTime='00:00:00.4' RepeatBehavior='Forever'>       <ColorAnimationUsingKeyFrames Storyboard.TargetName='_02' Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'>         <SplineColorKeyFrame KeyTime='00:00:00.0' Value='{StaticResource FilledColor}'/>         <SplineColorKeyFrame KeyTime='00:00:01.6' Value='{StaticResource UnfilledColor}'/>       </ColorAnimationUsingKeyFrames>     </Storyboard>      <Storyboard x:Key='Animation3' BeginTime='00:00:00.6' RepeatBehavior='Forever'>       <ColorAnimationUsingKeyFrames Storyboard.TargetName='_03' Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'>         <SplineColorKeyFrame KeyTime='00:00:00.0' Value='{StaticResource FilledColor}'/>         <SplineColorKeyFrame KeyTime='00:00:01.6' Value='{StaticResource UnfilledColor}'/>       </ColorAnimationUsingKeyFrames>     </Storyboard>      <Storyboard x:Key='Animation4' BeginTime='00:00:00.8' RepeatBehavior='Forever'>       <ColorAnimationUsingKeyFrames Storyboard.TargetName='_04' Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'>         <SplineColorKeyFrame KeyTime='00:00:00.0' Value='{StaticResource FilledColor}'/>         <SplineColorKeyFrame KeyTime='00:00:01.6' Value='{StaticResource UnfilledColor}'/>       </ColorAnimationUsingKeyFrames>     </Storyboard>      <Storyboard x:Key='Animation5' BeginTime='00:00:01.0' RepeatBehavior='Forever'>       <ColorAnimationUsingKeyFrames Storyboard.TargetName='_05' Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'>         <SplineColorKeyFrame KeyTime='00:00:00.0' Value='{StaticResource FilledColor}'/>         <SplineColorKeyFrame KeyTime='00:00:01.6' Value='{StaticResource UnfilledColor}'/>       </ColorAnimationUsingKeyFrames>     </Storyboard>      <Storyboard x:Key='Animation6' BeginTime='00:00:01.2' RepeatBehavior='Forever'>       <ColorAnimationUsingKeyFrames Storyboard.TargetName='_06' Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'>         <SplineColorKeyFrame KeyTime='00:00:00.0' Value='{StaticResource FilledColor}'/>         <SplineColorKeyFrame KeyTime='00:00:01.6' Value='{StaticResource UnfilledColor}'/>       </ColorAnimationUsingKeyFrames>     </Storyboard>      <Storyboard x:Key='Animation7' BeginTime='00:00:01.4' RepeatBehavior='Forever'>       <ColorAnimationUsingKeyFrames Storyboard.TargetName='_07' Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'>         <SplineColorKeyFrame KeyTime='00:00:00.0' Value='{StaticResource FilledColor}'/>         <SplineColorKeyFrame KeyTime='00:00:01.6' Value='{StaticResource UnfilledColor}'/>       </ColorAnimationUsingKeyFrames>     </Storyboard>   </UserControl.Resources>    <UserControl.Triggers>     <EventTrigger RoutedEvent='FrameworkElement.Loaded'>       <BeginStoryboard Storyboard='{StaticResource Animation0}'/>       <BeginStoryboard Storyboard='{StaticResource Animation1}'/>       <BeginStoryboard Storyboard='{StaticResource Animation2}'/>       <BeginStoryboard Storyboard='{StaticResource Animation3}'/>       <BeginStoryboard Storyboard='{StaticResource Animation4}'/>       <BeginStoryboard Storyboard='{StaticResource Animation5}'/>       <BeginStoryboard Storyboard='{StaticResource Animation6}'/>       <BeginStoryboard Storyboard='{StaticResource Animation7}'/>     </EventTrigger>   </UserControl.Triggers>    <Grid>     <Grid.RowDefinitions>       <RowDefinition Height='*'/>       <RowDefinition Height='100'/>       <RowDefinition Height='*'/>     </Grid.RowDefinitions>     <Grid.ColumnDefinitions>       <ColumnDefinition Width='*'/>       <ColumnDefinition Width='Auto'/>       <ColumnDefinition Width='*'/>     </Grid.ColumnDefinitions>     <Canvas Grid.Row='1' Grid.Column='1' Height='105' Width='105'>       <Canvas.Resources>         <Style TargetType='Ellipse'>           <Setter Property='Width' Value='15'/>           <Setter Property='Height' Value='15' />           <Setter Property='Fill' Value='#FFFFFFFF' />         </Style>       </Canvas.Resources>       <Ellipse x:Name='_00' Canvas.Left='24.75' Canvas.Top='50'/>       <Ellipse x:Name='_01' Canvas.Top='36' Canvas.Left='29.5'/>       <Ellipse x:Name='_02' Canvas.Left='43.5' Canvas.Top='29.75'/>       <Ellipse x:Name='_03' Canvas.Left='57.75' Canvas.Top='35.75'/>       <Ellipse x:Name='_04' Canvas.Left='63.5' Canvas.Top='49.75' />       <Ellipse x:Name='_05' Canvas.Left='57.75' Canvas.Top='63.5'/>       <Ellipse x:Name='_06' Canvas.Left='43.75' Canvas.Top='68.75'/>       <Ellipse x:Name='_07' Canvas.Top='63.25' Canvas.Left='30' />       <Ellipse Stroke='{x:Null}' Width='39.5' Height='39.5' Canvas.Left='31.75' Canvas.Top='37' Fill='{x:Null}'/>     </Canvas>     <TextBlock Grid.Row='2' Grid.Column='0' Grid.ColumnSpan='3' Foreground='#AAA' TextAlignment='Center' FontSize='15' Text='{Binding Source={StaticResource Model}, Path=StatusMessage}'/>   </Grid>  </UserControl> 

    Loading.xaml.cs:

    using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes;  namespace UK.Budgeting.XBAP {     /// <summary>     /// Interaction logic for Loading.xaml     /// </summary>     public partial class Loading : UserControl     {         public Loading()         {             InitializeComponent();         }         public void Show()         {             this.Visibility = Visibility.Visible;         }         public void Hide()         {             this.Visibility = Visibility.Hidden;         }     } } 

    To use, make a reference in your main page:

    <local:Loading x:Name='LoadingAnimation' Visibility='Hidden' /> 

    and call from code:

    LoadingAnimation.Show(); LoadingAnimation.Hide(); 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 205k
  • Answers 205k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Unfortunately, I can't use the LocBaml tool since management believes… May 12, 2026 at 8:56 pm
  • Editorial Team
    Editorial Team added an answer Here are the Informix ConnectionStrings on my favorite site for… May 12, 2026 at 8:56 pm
  • Editorial Team
    Editorial Team added an answer Maybe here you can find something suitable? http://jpgraph.net/features/gallery.php#bar1 May 12, 2026 at 8:56 pm

Related Questions

I have a 3 column grid in a window with a GridSplitter on the
I have a little problem with a Listview. I can load it with listview
I have a WPF user control with a number of textboxes, this is hosted
I have a simple UserControl containing Label, ComboBox and Button. In brief, it is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.