Thanks for contacting us.
That is one of the discrepancies between Silverlight and WPF. WPF visibility declarations could be visible, hidden and collapsed. As you mentioned these correspond in Silverlight to visible and collapsed. So what is required would be to change the visibility to collapsed so that it would be recognizable for your framework as well.
Let me know if that helps you.