Apress pro Silverlight 3 in C# phần 4 pdf
... warnings. The installation process places the application in a randomly generated folder in the current user’s profile. When the installation process finishes, it launches the newly installed ... Description NotInstalled The application is running inside the browser and hasn’t been installed as an out-of-browser application. Installing The application is in the process of being i...
Ngày tải lên: 06/08/2014, 08:22
... System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace SilverlightApplication1 ... MainPage.xaml.cs. Here’s what you’ll see in the MainPage.xaml.cs file: using System; using System.Collections.Generic; using System.Linq; using System.Net; using...
Ngày tải lên: 06/08/2014, 08:22
... more properties for controlling fonts, inline formatting, and text wrapping. You’ll consider these properties in the following sections. Font Properties The TextBlock class defines font properties ... to this control, it comes into play now. 4. Property value inheritance. :Silverlight uses property value inheritance with a small set of control properties, including Foreground, FontFam...
Ngày tải lên: 06/08/2014, 08:22
Apress pro Silverlight 3 in C# phần 5 docx
... <LineGeometry StartPoint="10,10" EndPoint=" 130 ,30 "></LineGeometry> <LineGeometry StartPoint=" ;40 , 140 " EndPoint="150,150"></LineGeometry> ... interesting than straight lines. You identify the end point of the line using the ArcSegment.Point property, just as you would with a line segment. However, the PathFigure draws a...
Ngày tải lên: 06/08/2014, 08:22
Apress pro Silverlight 3 in C# phần 6 pps
... Value property. In a LinearPointKeyFrame it’s a Point, in a DoubleKeyFrame it’s a double, and so on. You can create a more interesting example using a series of key frames. The following animation ... 34 0 causing it to accelerate or decelerate at different points. This is the technique you’ll study in the following sections. Using an Easing Function The best part about animati...
Ngày tải lên: 06/08/2014, 08:22
Apress pro Silverlight 3 in C# phần 7 pptx
... users zoom into massive images in real time. ■ What’s New Silverlight continues to refine its audio and video support. Although the programming interface remains the same in Silverlight 3 (for ... way, the first line resets the position to the beginning, and playback continues from that point. In this case, the second line has no effect because the media file is already being...
Ngày tải lên: 06/08/2014, 08:22
Apress pro Silverlight 3 in C# phần 8 pps
... pop-up windows as separate tabs in the current window. • When calling PopupWindow(), you must supply an absolute URI. Inspecting the HTML Document Retrieving browser information and performing ... displaying by using the same code in several pages. Figure 14- 8 shows the result of this approach, as the content changes inside a Silverlight application. Figure 14- 8. Sizing the S...
Ngày tải lên: 06/08/2014, 08:22
Apress pro Silverlight 3 in C# phần 9 pps
... list of products. List<Product> products = App.StoreDb.GetProducts(); // Create a second collection with matching products. CHAPTER 16 ■ DATA BINDING 5 73 Table 16 -4. Format Strings ... = new List<Product>(); foreach (Product product in products) { if (product.UnitCost >= 100) { matches.Add(product); } } Using LINQ, you can use the following expressio...
Ngày tải lên: 06/08/2014, 08:22
apress pro silverlight 3 in c sharp phần 10 potx
... code inline (as in this example). The inline approach works well for simple operations, like this single-line update. But if you need to use a more complex process to update the user interface, ... CHAPTER 20 NETWORKING 689 can’t directly access the elements in the page. As you saw in Chapter 19, you can work around this problem using Dispatcher.BeginInvoke(). However, copying...
Ngày tải lên: 06/08/2014, 10:20
Pro Silverlight 3 in C# docx
... Easing 33 9 Using an Easing Function 34 0 Easing In and Easing Out 34 1 Easing Function Classes 34 2 Animation Types Revisited 34 6 Animating Transforms 34 6 Animation Perspective Projections 34 9 ... Creating a Targeted Trigger 43 9 Creating a Behavior 4 43 Finding More Behaviors 44 6 The Last Word 44 8 ■Chapter 13: Templates and Custom Controls 44 9 Template Basi...
Ngày tải lên: 15/03/2014, 21:20