V 1.0 Visibility Property Breaking Change
In order to reduce surface area, we removed Visibility.Hidden from the product. Prior to this change Visibility.Hidden behaved the same as Visibility.Collapsed. From a functionality stand-point, the Silverlight behavior is closer to the WPF Visibility.Collapsed so we've decided to keep Collapsed. To create content that will work consistently between Mix and 1.0, replace all occurrences of “Hidden” in both XAML and script with “Collapsed”.
For JavaScript, the following:
sender.findName("fsm").visibility = "Hidden";
Needs to be changed to:
sender.findName("fsm").visibility = "Collapsed";
And for XAML, replace:
<Canvas x:Name="mask" Visibility="Hidden">
With:
<Canvas x:Name="mask" Visibility="Collapsed">
Comments
Anonymous
June 06, 2007
PingBack from http://blogs.msdn.com/jstegman/archive/2007/06/06/v-1-0-visibility-property-breaking-change.aspxAnonymous
June 06, 2007
The comment has been removedAnonymous
June 07, 2007
SomeV1.0BreakingChangesV1.0DownloaderBreakingChangeV1.0VisibilityPropertyBreakingChange ...Anonymous
June 10, 2007
I’m using the post to aggregate my other post into a comprehensive list of V1.0 breaking changes. 1.