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 6327635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:18:51+00:00 2026-05-24T17:18:51+00:00

I am trying to animate an error message popup to expand itself slightly then

  • 0

I am trying to animate an error message popup to expand itself slightly then contract to its original size all in about a half second interval to give emphasis to it in WPF. The window is designed as a border with another border inside that houses a stack panel with an icon on the left and a messagebox to the right. On initialization the messagebox gets the exception populated and the whole window’s size is set to sizetocontent. By the way I am using .NET 3.5. Please help!

  • 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. Editorial Team
    Editorial Team
    2026-05-24T17:18:52+00:00Added an answer on May 24, 2026 at 5:18 pm

    Add this to your xaml within the outside Border or to the Window

    <Style>
      <Setter Property="Border.RenderTransform">
       <Setter.Value>
         <ScaleTransform CenterX="50" CenterY="50" ScaleX="1" ScaleY="1" />
       </Setter.Value>
      </Setter>
    <Style.Triggers>
      <EventTrigger RoutedEvent="Border.Loaded">
        <EventTrigger.Actions>
          <BeginStoryboard >
            <Storyboard>
              <DoubleAnimation Duration="0:0:0.5" 
                               Storyboard.TargetProperty="RenderTransform.ScaleX" 
                               From="1.0" To="1.1" Duration="0:0:0.5" 
                               AutoReverse="True"/>
              <DoubleAnimation Duration="0:0:0.5" 
                               Storyboard.TargetProperty="RenderTransform.ScaleY" 
                               From="1.0" To="1.1" Duration="0:0:0.5" 
                               AutoReverse="True"/>
            </Storyboard>
          </BeginStoryboard>
        </EventTrigger.Actions>
      </EventTrigger>
    </Style.Triggers>
    </Style>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to animate an object, let's say its a car. I want
I'm trying to animate a private variable named radius, which works. However while its
I am getting the following error message which I cannot understand why its happening
I´m trying to animate a sort of draggable UIView where the behaviour should be
I'm trying to animate Visio objects with a loop, such as: For reposition =
I'm trying to animate a block level element using jQuery. The page loads with
I'm trying to animate an image which is partly hidden (via overflow: hidden) inside
I'm trying to animate a dot from one point to another on a map.
I'm trying to animate a RadialGradientBrush in my application. I get the super helpful
I'm trying to animate a simple ImageView in my application and I want it

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.