Posted 17 years ago
by Dario Fruk
Version: 3.5.0421
Platform: .NET 3.5
Environment: Windows Vista (64-bit)

If "ToggleButton" element is hidden (collapsed) in ControlTemplate for AnimatedExpander, setting IsExpanded property will throw InvalidOperationException with message "'arrow' name cannot be found in the name scope of 'System.Windows.Controls.ControlTemplate'."
If "ToggleButton" element is deleted AnimatedExpander works without a problem.
[Modified at 03/27/2008 04:59 AM]
If "ToggleButton" element is deleted AnimatedExpander works without a problem.
[Modified at 03/27/2008 04:59 AM]