Condition !=null for ControlStoryboardAction RRS feed

  • Question

  • I have an Image with attached ControlStoryboardAction to it and I want this ControlStoryboardAction have a condition "AnotherImage.Source != null". I've created a Condition, tried element binding to AnotherImage.Source and typed "Null" for the value. But I got an error in runtime. Is there still any way of doing this in Blend?
    Thursday, July 1, 2010 2:01 PM

All replies

  • If you don't type anything in, the default value is Null. You can just reset the value using hte advanced property options and give it a shot

    If you wanted to type something in, what you need to do is to use the advanced property options, using Custom Expression and type in {x:Null}. If you type in, it sets the string value of the property to Null which is not the same as {x:Null}


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, July 1, 2010 5:16 PM