ExpandableContentControl.Measure(Size) accepts infinity as a value and crashes VS

Jun 27, 2011 at 8:06 PM

I'm trying to expand my control to fit the entire available area of the AccordionItem's content pane. I tried implementing a custom ContentTemplate which was a simple grid. When I make this change and view the changes in the designer, VS crashes. When I run the app containing this, it also crashes when the control is loaded.