Register your product to gain access to bonus material or receive a coupon.
Full color: Learn how to build great Windows Store apps! Figures and code appear as they do in Visual Studio.
Windows 8.1 enables you to build stunning applications that integrate with each other, Web services, and Windows itself. You can sell them in the Windows Store, with more options than ever before, for tablets such as Surface, laptops, and traditional desktop PCs! World-renowned Microsoft programming guru Adam Nathan shows you exactly how to write first-class apps for this significant update to Windows. Don’t let the minor name change fool you--Windows 8.1 contains an incredible amount of new developer opportunities compared to Windows 8.
Clear, accessible, and intensely practical, this guide teaches through concise code examples, in full color to match their appearance in Visual Studio--the same approach that made Nathan’s WPF Unleashed so popular. Writing with unprecedented depth and insight, Nathan guides you through creating advanced user interfaces with XAML and exploiting key Windows 8.1 features. Whether you’re already comfortable with Microsoft programming or relatively new to it, Windows 8.1 Apps with XAML and C# Unleashed will take you to the cutting edge of Windows 8.1 development.
Detailed information on how to...
Download the free source code files associated with Windows 8.1 Apps with XAML and C# Unleashed here
Hello, Real World! Creating a Windows Store XAML App
Download the sample pages (includes Chapter 1 and Index)
Introduction 1
Part I: Getting Started
Chapter 1: Hello, Real World! 9
Creating, Deploying, and Profiling an App 9
Understanding the App Package 12
Updating XAML and C# Code 22
Making the App World-Ready 30
Making the App Accessible 36
Submitting to the Windows Store 40
Summary 42
Chapter 2: Mastering XAML 43
Elements and Attributes 44
Namespaces 45
Property Elements 47
Type Converters 48
Markup Extensions 49
Children of Object Elements 51
Mixing XAML with Procedural Code 56
XAML Keywords 59
Summary 61
Part II: Building an App
Chapter 3: Sizing, Positioning, and Transforming Elements 63
Controlling Size 64
Controlling Position 68
Applying 2D Transforms 71
Applying 3D Transforms 79
Summary 82
Chapter 4: Layout 83
Discovering Your Window Size and Location 84
Panels 89
Handling Content Overflow 105
Summary 116
Chapter 5: Interactivity 117
Dependency Properties 117
Routed Events 124
Commands 129
Summary 131
Chapter 6: Handling Input: Touch, Mouse, Pen, and Keyboard 133
Touch Input 134
Mouse Input 156
Pen Input 159
Keyboard Input 168
Summary 174
Part III: Working with the App Model
Chapter 7: App Lifecycle 175
Killing 177
Suspending 178
Resuming 181
Terminating 181
Launching 182
Activating 185