This is more of annyoing than a real problem but I like to understand why.
A Expander Control in a WPF (.net 3.5sp1) created with Expression Blend 2.
If in code behind
void talk_On()
{
Ui.Dispatcher.Invoke(new Action(
delegate()
{
this.expander.IsExpanded = false;
}));
}
The this.expander.IsExpanded = false; works as expected. However if someone is trying to use the Blend2 and with triggers or keyframe do the same, the expander control will collapse (the keyframe sets IsExpanded to false) but then is stays that way and can't be used in a interactive way. Why ?
(This could /should probably be done with a binding to an Ipropchg obj but this seemingly "same" way of using the IsExpanded with different results bothers me.)