Tài liệu Học lập trình Silverlight 3

Thảo luận trong 'Lập Trình' bắt đầu bởi Thúy Viết Bài, 5/12/13.

  1. Thúy Viết Bài

    Thành viên vàng

    Bài viết:
    198,891
    Được thích:
    167
    Điểm thành tích:
    0
    Xu:
    0Xu
    Chapter 1: Welcome to Silverlight 3 1
    The Evolution of the User Interface 1￿
    Rich Internet Application Solutions 3￿
    What Is Silverlight? 3￿
    Benefits of Silverlight 4￿
    Cross-Platform/Cross-Browser Support . 5￿
    Cross-Platform Version of the .NET Framework . 5￿
    XAML, a Text-Based Markup Language . 5￿
    Use of Familiar Technologies . 6￿
    Small Runtime and Simple Deployment . 6￿
    The Silverlight Development Environment .8￿
    New Features in Silverlight 3 .10￿
    Improved Performance . 11￿
    Summary .11￿
    ■Chapter 2: Introduction to Visual Studio 2008 13
    What Is Visual Studio? .13
    What’s New in Visual Studio 2008? .14
    JavaScript IntelliSense and Debugging 14
    Multi-Targeting Support . 28
    Transparent IntelliSense Mode . 30
    Building Your First Silverlight Application in Visual Studio 31
    Try It Out: Hello World in Silverlight 3 . 31
    Hosting Your Silverlight Application: Web Site or Web Application? 36
    Summary .37
    ■Chapter 3: Layout Management in Silverlight 3 39
    Layout Management 39
    The Canvas Panel 40
    Try It Out: Using the Canvas Panel . 41
    Filling the Entire Browser Window with Your Application 44
    The StackPanel Control .45
    Try It Out: Using the StackPanel Control . 45
    Try It Out: Nesting StackPanel Controls 47
    The Grid Control .49
    Try It Out: Using the Grid Control 49
    Try It Out: Nesting a Grid and Spanning a Column . 52
    The WrapPanel Control 56
    Try It Out: Using the WrapPanel Control . 56
    The DockPanel Control 59
    Try It Out: Using the DockPanel Control 60
    Summary .63
    ■Chapter 4: Silverlight 3 Controls .65
    Setting Control Properties 65
    Attribute Syntax 65
    Element Syntax . 66
    Type-Converter-Enabled Attributes 66
    Attached Properties 66
    Nesting Controls Within Controls .67
    Handling Events in Silverlight 68
    Try It Out: Declaring an Event in XAML . 68
    Try It Out: Declaring an Event Handler in Managed Code . 72
    The Border Control .76
    User Input Controls 80
    Try It Out: Working with the TextBox Control 80
    Try It Out: Working with the RadioButton and CheckBox Controls . 84
    Extended Controls 87
    Adding an Extended Control . 87
    Try It Out: Using the GridSplitter . 88
    AutoCompleteBox 90
    ViewBox .92
    Modal Windows .93
    Try It Out: Using the Modal Child Window 95
    Summary .103
    ■Chapter 5: Data Binding and Silverlight List Controls .105
    Data Binding 105
    The Binding Class . 106
    Try It Out: Simple Data Binding in Silverlight . 106
    Element to Element Binding 114
    Try It Out: Element to Element Binding . 114
    The DataGrid Control 116
    Try It Out: Building a Simple DataGrid 117
    The Columns Collection 122
    Try It Out: Building a DataGrid with Custom Columns 124
    The ListBox Control 130
    Default and Custom ListBox Items 131
    Try It Out: Building a ListBox with Custom Content 133
    Summary .135
    ■Chapter 6: Data Access and Networking .137
    Data Access in Silverlight Applications .137
    Accessing Data Through Web Services .138
    Try It Out: Accessing Data Through a WCF Service 138
    Accessing Services from Other Domains .149
    Accessing Data Through Sockets 150
    Summary .152
    ■Chapter 7: Navigation Framework 153
    Frame and Page Object .153
    Try It Out: Creating a Silverlight Navigation Application . 153
    Benefits of the Navigation Framework 164
    Deep Linking . 164
    The NavigationService Object 165
    Try it Out: Using the NavigationService Object . 166
    Passing Data to Navigation Pages .168
    Try it Out: Passing Data to Navigation Pages . 169
    Uri Mapping .172
    Try it Out: Uri Mapping and the Navigation Framework . 173
    Silverlight Navigation Application Template 175
    Try it Out: Using the Silverlight Navigation Application Template 175
    Using Multiple Frames .179
    Try it Out: Using Multiple Frames . 180
    Summary .182
    ■Chapter 8: Local Storage in Silverlight 183
    Working with Isolated Storage .183
    Using the Isolated Storage API . 183
    Try It Out: Creating a File Explorer for Isolated Storage . 186
    Managing Isolated Storage 207
    Viewing and Clearing Isolated Storage . 207
    Try It Out: Increasing the Isolated Storage Quota . 209
    Summary .212
    ■Chapter 9: Introduction to Expression Blend .213
    Key Features in Expression Blend .213
    Visual XAML Editor . 214
    Visual Studio 2008 Integration . 214
    Split-View Mode . 214
    Visual State Manager and Template Editing Support . 215
    World-Class Timeline 215
    Try It Out: Working with Projects in Expression Blend . 216
    Exploring the Workspace .221
    Toolbox . 221
    Project Panel 223
    Properties Panel . 223
    Objects and Timeline Panel 225
    Laying Out an Application with Expression Blend .225
    Working with the Grid Control in Expression Blend 225
    Try It Out: Editing a Layout Grid with Expression Blend . 225
    Summary .233
    ■Chapter 10: Styling in Silverlight 235
    Inline Properties .235
    Try It Out: Setting Inline Properties with Visual Studio . 235
    Try It Out: Setting Inline Properties with Expression Blend 243
    Silverlight Styles 251
    Try It Out: Using Styles As Static Resources 253
    Defining Styles at the Application Level . 259
    Merged Resource Dictionaries . 261
    Silverlight Style Hierarchy 262
    Inheriting Styles Using BasedOn 264
    Summary .265
    ■Chapter 11: Transformations and Animation 267
    Introduction to Silverlight Animation .267
    Silverlight Storyboards . 268
    Types of Animation in Silverlight 269
    Programmatically Controlling Animations .271
    Using Expression Blend to Create Animations .273
    Viewing a Storyboard in the Expression Blend Timeline 273
    Try It Out: Creating an Animation with Expression Blend . 274
    Creating Transformations in Silverlight .282
    Transformation Types . 283
    Try It Out: Using Expression Blend to Transform Silverlight Objects 285
    Summary .288
    ■Chapter 12: Custom Controls 289
    When to Write Custom Controls .289
    Silverlight Control Toolkit 290
    Silverlight Control Model .291
    Parts and States Model 291
    Dependency Properties 292
    Creating Custom Controls in Silverlight .293
    Implementing Custom Functionality . 293
    Try It Out: Building a Custom Control . 294
    Summary .309
    ■Chapter 13: Deployment 311
    Deploying Silverlight Applications .311
    XAP Files . 311
    Hosting Silverlight Content . 311
    Assembly Caching .312
    Try It Out: Exploring Assembly Caching 313
    Out of Browser Support .317
    Customizing the Install Application Dialog . 319
    Out of Browser API . 320
    Removing Installed Applications 322
    Summary .322
     

    Các file đính kèm:

Đang tải...