After the Silverlight 2 Beta 2 release, there have been a lot of changes on the original Beta 1 basis. This article summarizes the changes between Silverlight 2 Beta1 and Beta 2, as well as some of the issues that you may encounter during the upgrade of Silverlight 2.0 Beta 1 applications to Beta 2.
1. Uninstall all the original components related to Beta 1
2. Install Beta 2 related components
3. After opening the original item, the following prompt dialog box appears, prompting you to upgrade to the most recent version.
Control-change controls are placed in the System.Windows.dll assembly
The controls that were originally in System.Windows.Controls.dll were placed in the System.Windows.dll in Beta 2, which means that the controls are already in runtime. If you have the following code in the original program, you need to remove:
xmlns:my="clr- namespace:System.Windows.Controls;assembly=System.Windows.Controls"
And you need to modify the control declarations under the corresponding namespaces, such as:
<my:Button x:Name="myButton"/>
In Beta 2, after this adjustment, the volume of the XAP file can be greatly reduced.
Changes in ToolTip
The direct use of ToolTip has not been allowed in Silverlight Beta 2, and can only be used through ToolTipService, with the addition of the following public properties and methods in ToolTipService removed:
Betweenshowdelayproperty
Initialshowdelayproperty
Showdurationproperty
Getbetweenshowdelay
Getinitialshowdelay
Getshowduration
Setbetweenshowdelay
Setinitialshowdelay
GetToolTip
Setshowduration