Apress pro Silverlight 3 in C# phần 5 docx
... Lines It’s easy to create simple lines using the LineSegment and PathGeometry classes. You set the StartPoint and add one LineSegment for each section of the line. The LineSegment.Point property ... 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 curved line...
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 ... Margin=" ;5& quot;> <Polygon Points="100, 25 1 25, 0 200, 25 1 25, 50" Fill="LightSteelBlue" /> <Polygon Points="100, 25 75, 0 0, 25 75,...
Ngày tải lên: 06/08/2014, 08:22
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
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 ... you run this animation, the button increases in size (over 5 seconds), jumps back to its original value, and then increases in size again (over 5 seconds), ending at the full wi...
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 ... LogicalToElementPoint() Converts a logical point in the virtual image to a physical location in the MultiScaleImage where that point is currently being displayed. ZoomAboutLogical...
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 ... hard-coding details that the control consumer may want to customize. Instead, you need to use template binding expressions. In this example, you set several properties using template-bindi...
Ngày tải lên: 06/08/2014, 08:22
Apress pro Silverlight 3 in C# phần 9 pps
... syntax that was introduced in .NET 3. 5. LINQ works with any data source that has a LINQ provider. Using the support that’s included with Silverlight, you can use similarly structured LINQ queries ... 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. For...
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
... Animating Brushes 35 1 Animating Pixel Shaders 35 2 Key-Frame Animation 35 3 Discrete Key Frames 35 5 Easing Key Frames 35 5 Spline Key Frames 35 6 Animations in Code 35 7 The Main Page 35 9 The ... Author of Pro WPF in C# 2008 Pro ASP.NET 3. 5 in C# 2008 (with Mario Szpuszta) Beginning ASP.NET 3. 5 in C# 2008 Pro Silverlight 2...
Ngày tải lên: 15/03/2014, 21:20