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

  • SEARCH
  • Home
  • 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 356449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:06:46+00:00 2026-05-12T12:06:46+00:00

When I write Storyboard.Target, intellisense steps in and does it’s job. But when I

  • 0

When I write Storyboard.Target, intellisense steps in and does it’s job. But when I compile it, I get an exception. But if it’s no allowed, why does intellisense pull it for me to use?

<UserControl x:Class="SilverlightApplication5.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="570" d:DesignHeight="310" Width="570" Height="310">
  <Grid x:Name="LayoutRoot" Background="#003399">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="70" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="70" />
        </Grid.ColumnDefinitions>

        <Grid Grid.Column="1" >
            <Grid.RowDefinitions>
                <RowDefinition Height="50" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>

            <Grid Grid.Row="1" >
                <Image x:Name="imagenAnuncioDestacado" Source="DSC01969.JPG" Stretch="UniformToFill" />
            </Grid>            

            <Grid Grid.Row="0">
                <Rectangle x:Name="myRectangle" MouseLeftButtonDown="myRectangle_MouseLeftButtonDown" Fill="#CCFFCC" Width="200" Height="30" />
            </Grid>
        </Grid>

        <Grid Grid.Column="0" >
            <Image x:Name="imagenLeft" Source="left.PNG" Stretch="None"/>
        </Grid> 

        <Grid Grid.Column="2" >
            <Image x:Name="imagenRight" Source="right.PNG" Stretch="None"/>
        </Grid>

        <Storyboard x:Name="ShowPrice">
            <DoubleAnimationUsingKeyFrames Storyboard.Target="myRectangle" Storyboard.TargetProperty="Height" >
                <LinearDoubleKeyFrame Value="30" KeyTime="0:0:0" />
                <SplineDoubleKeyFrame KeySpline="0,0 1,0" Value="300" KeyTime="0:0:0.8" />
                <SplineDoubleKeyFrame KeySpline="0.10, 0.21 0.00, 1.0" Value="250" KeyTime="0:0:1.5" />
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Grid>   

</UserControl>

Exception:

Error 1 The property ‘Target’ does not exist on the type ‘DoubleAnimationUsingKeyFrames’ in the XML namespace ‘http://schemas.microsoft.com/winfx/2006/xaml/presentation‘. C:\Documents and Settings\Sergio\My Documents\Visual Studio 2008\Projects\SilverlightApplication5\SilverlightApplication5\MainPage.xaml 37 44 SilverlightApplication5

I want to assign myStoryboard to myRectangle. What am I doing wrong?

  • 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-12T12:06:47+00:00Added an answer on May 12, 2026 at 12:06 pm

    You want to set Storyboard.TargetName not Storyboard.Target.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I write game. I use RequestWindowFeature(WindowFeatures.NoTitle); at splash screen, but how can I disable
I tried to use linq to get storyboard data in code and try following
i write this in .emacs (require 'dired-x) (global-set-key (kbd C-x C-j) 'dired-jump) but when
I use storyboard. I had a UINavigationContrller as a Initial View Controller. it had
I wrote the following code. It tries to create a storyboard that does the
I was wondering how to properly use the storyboard to put up a view
I built a storyboard like this: I didn't write a single line of code,
Write a NASM macro: divide, which has 2 arguments, which specify unsigned integers in
Write a NASM macro: divide, which has 2 arguments, which specify unsigned integers in
Write a program to determine whether a computer is big-endian or little-endian. bool endianness()

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.