Download the silverlight3.0 tutorial

Source: Internet
Author: User
Document directory
  • Download the silverlight3.0 tutorial document
Download the silverlight3.0 tutorial document

The runtime version of Silverlight 3 is 3.0.40307.0.
The control of Silverlight 3.0 has also been added a lot. Add the control and toolkit control contained in 2.0 and some new sl3 controls.
Changes from Silverlight 2 to Silverlight 3 BETA:
Ensuring that your Silverlight 2 applications work with the Silverlight 3 beta releaseintroductionthis topic discusses the changes made to the Silverlight runtime and Silverlight tools between the Microsoft Silverlight 2 and Silverlight 3 beta. the changes discussed in this article are focused on changes that might cause your older Silverlight-based applications to now fail or behave differently, not on new features/enhancements for this release.
Note corrections/additions to this document (if any) are listed here.
Contents:
· Openfiledialog. showdialog () can now only be opened from a user initiated event
· Hyperlinkbutton now navigates the entire window and not just the IFRAME that Silverlight is in
· Mouse events inside a popup now give positions relative to the pop-up not the entire application
· Readonlyobservablecollection moved from system. Windows. Controls. Data. DLL to system. Windows. dll
Openfiledialog. showdialog () can now only be opened from a user initiated eventwho is affected: all applications.
Summary
For security reasons, openfiledialog. showdialog () may only be called during a user initiated event (mouseleftbuttondown/up and keydown/UP) or derived user event Like clicking a button, checking a checkbox, etc. this brings Silverlight into line with how the other major browsers and plug-ins behave.
Hyperlinkbutton now navigates the entire window and not just the IFRAME that Silverlight is inwho is affected: Silverlight 2 applications recompiled for Silverlight 3 beta.
Summary
In Silverlight 2, hyperlinkbutton behaved inconsistently initialize SS browsers. in Internet Explorer, hyperlinkbutton will navigate the entire browser not just the current IFRAME.
In other browsers, hyperlinkbutton navigates only the current IFRAME, which is consistent with HTML behavior. In Silverlight 3 beta, we 've changed the behavior inside Internet Explorer to match the behavior in other browsers.
Mouse events inside a popup now give positions relative to the pop-up not the entire applicationwho is affected: Silverlight 2 applications recompiled for Silverlight 3 beta.
Summary
Suppose you have an element inside a pop-up that listens to mouse events:
[XAML]
<Popup>
<Border name = "border" mouseleftbuttondown = "onmouseleftbuttondown"/>
</Popup>
[C #]
Void onmouseleftbuttondown (Object sender, mousebuttoneventargs E)
{
... E. getposition (Border )...
}
In Silverlight 2, the coordinates from mousebuttoneventargs. getposition will be relative to the entire Silverlight plug-in, even though the application asked for coordinates relative to the border control (the parameter to getposition is supposed to indicate the frame of reference ). this has been fixed in Silverlight 3 beta.
Readonlyobservablecollection moved from system. Windows. Controls. Data. DLL to system. Windows. dllwho is affected: Silverlight 2 applications recompiled for Silverlight 3 beta.
Summary
This class has been moved into system. windows. DLL so that other APIs in system. windows. dll can use it. in order to minimize download size impact we 've removed some uncommonly used methods.
Note that this will not affect applications compiled for Silverlight 2. if you use readonlyobservablecollection in Silverlight 2, your. xap file will contain a copy of system. windows. controls. data. DLL. when Silverlight 3 beta runs your. xap, it will use. xap's copy of system. windows. controls. data. DLL and that version of readonlyobservablecollection, not the version that ships in the system. windows. DLL of Silverlight 3 beta.

Download: http://www.silverlighter.net/thread-322-1-1.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.