Welcome to MSDN Blogs Sign in | Join | Help

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">

Published Wednesday, June 06, 2007 8:35 AM by jstegman

Comments

# Joe Stegman's WebBlog : V 1.0 Visibility Property Breaking Change

# Silverlight Cream for June 6, 2007 -- more v1.0 breaking changes

Silverlight Cream for June 6, 2007 -- more v1.0 breaking changes

Wednesday, June 06, 2007 2:15 PM by WynApse

# silverlight V 1.0 变化

SomeV1.0BreakingChangesV1.0DownloaderBreakingChangeV1.0VisibilityPropertyBreakingChange

...

Thursday, June 07, 2007 9:42 AM by neuhawk

# Silveright Breaking Changes between Mix and Version 1.0

I’m using the post to aggregate my other post into a comprehensive list of V1.0 breaking changes. 1.

Sunday, June 10, 2007 5:20 PM by Joe Stegman's WebBlog
Anonymous comments are disabled
 
Page view tracker