About Me

reno, NV, United States
As of 2011, I have ten years experience in various technologies as C#, WPF, Java, J2EE, C++. For the past three years, I have been extensively working on various .net and java technologies including but not limited to WPF , C# , WCF and composite application guidance (Prism ).

Monday, November 15, 2010

Cannot convert the value in attribute 'Property' to object of type 'System.Windows.DependencyProperty'. isloaded


href="css/SyntaxHighlighter.css">






This problem is typically encountered when you are trying to use IsLoaded like a dependency property

e.g

  1. <trigger property="IsLoaded" value="True">  
  2.   
  3.                <trigger.enteractions>  
  4.   
  5.                    <beginstoryboard>  
  6.   
  7.                        <storyboard autoreverse="True">  
  8.   
  9.                            <doubleanimation storyboard.targetproperty="Opacity" storyboard.targetname="glowImage" to="1" begintime="0:0:0" duration="0:0:1">  
  10.   
  11.                            <doubleanimation storyboard.targetproperty="Opacity" storyboard.targetname="glowImage" to="0" begintime="0:0:1" duration="0:0:2">  
  12.   
  13.                        </doubleanimation></doubleanimation></storyboard>  
  14.   
  15.                    </beginstoryboard>  
  16.   
  17.                </trigger.enteractions>  
  18.   
  19.   
  20.   
  21. /trigger>  

Its wierd at the first look why IsVisible a dependency property and not IsLoaded.

Followers

Blogger Syntax Highliter