Windows 8 Apps with XAML and C# Unleashed

( 1 )

Overview

With Metro and Windows 8, Microsoft is enabling developers to build applications with unparalleled richness and interactivity: applications that are extraordinarily useful and beautiful, and can serve users no matter where they are or what kind of device they prefer to use. In Windows 8 Metro Apps with XAML and C# Unleashed, legendary Microsoft programming guru Adam Nathan shows experienced Microsoft developers exactly how to write world-class apps with Metro. As in Nathan's previous best-seller WPF 4 Unleashed, ...
See more details below
Paperback
$30.18
BN.com price
(Save 39%)$49.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (20) from $27.30   
  • New (16) from $27.30   
  • Used (4) from $30.17   
Windows 8 Apps with XAML and C# Unleashed

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$22.99
BN.com price
(Save 42%)$39.99 List Price

Overview

With Metro and Windows 8, Microsoft is enabling developers to build applications with unparalleled richness and interactivity: applications that are extraordinarily useful and beautiful, and can serve users no matter where they are or what kind of device they prefer to use. In Windows 8 Metro Apps with XAML and C# Unleashed, legendary Microsoft programming guru Adam Nathan shows experienced Microsoft developers exactly how to write world-class apps with Metro. As in Nathan's previous best-seller WPF 4 Unleashed, this approachable, intensely practical book teaches through realistic code examples -- all of them fully color-coded to match the way they appear in Visual Studio. Nathan examines Metro's feature areas in unparalleled depth, delving into topics that most Metro books ignore. He covers everything developers need to know now about Extensible Application Markup Language (XAML), showing how to use it to create state-of-the-art Metro user interfaces. Developers will discover how to exploit Windows 8's most important new innovations from Metro, including touch and sensor support. For sophisticated developers comfortable with the Microsoft programming stack, this book offers unparalleled value.
Read More Show Less

Product Details

  • ISBN-13: 9780672336010
  • Publisher: Sams
  • Publication date: 12/26/2012
  • Series: Unleashed Series
  • Edition number: 1
  • Pages: 607
  • Sales rank: 400,234
  • Product dimensions: 7.02 (w) x 8.94 (h) x 1.20 (d)

Table of Contents

Introduction 1

Who Should Read This Book? 3

Software Requirements 3

Code Examples 3

How This Book Is Organized 3

Conventions Used in This Book 5

Part I Getting Started

1 Anatomy of a Windows Store App 7

Launching a New App 8

The Package Manifest 9

The Main Page 19

The Application Definition 21

Summary 25

2 Mastering XAML 27

Elements and Attributes 28

Namespaces 29

Property Elements 31

Type Converters 33

Markup Extensions 34

Children of Object Elements 36

Mixing XAML with Procedural Code 40

XAML Keywords 44

Summary 45

Part II Building an App

3 Sizing, Positioning, and Transforming Elements 47

Controlling Size 48

Controlling Position 52

Applying 2D Transforms 55

Applying 3D Transforms 62

Summary 64

4 Layout 65

Discovering the Current Dimensions 66

Discovering the Current View State 67

Discovering the Current Orientation 70

Panels 71

Handling Content Overflow 87

Summary 99

5 Interactivity 101

Dependency Properties 101

Routed Events 108

Commands 113

Summary 114

6 Handling Input: Touch, Mouse, Pen, and Keyboard 115

Touch Input 116

Mouse Input 138

Pen Input 140

Keyboard Input 142

Summary 147

7 App Model 149

Understanding the App Lifecycle 150

Programmatically Launching Apps 163

Interacting with the Windows Store 166

Leveraging Navigation 174

Summary 182

Part III Understanding Controls

8 Content Controls 185

Button 188

HyperlinkButton 189

RepeatButton 191

ToggleButton 191

CheckBox 192

RadioButton 192

ToolTip 194

AppBar 196

Summary 205

9 Items Controls 207

Items in the Control 208

Items Panels 210

ComboBox 213

ListBox 214

ListView 216

GridView 219

FlipView 221

SemanticZoom 223

Summary 226

10 Text 227

TextBlock 227

RichTextBlock 235

TextBox 240

RichEditBox 248

PasswordBox 251

Summary 252

11 Images 253

The Image Element 253

Multiple Files for Multiple Environments 263

Decoding Images 267

Encoding Images 276

Summary 284

12 Audio and Video 285

Playback 286

Capture 294

Transcoding 305

Summary 311

13 Other Controls 313

Range Controls 313

Popup Controls 316

A Few More Controls 325

Summary 330

Part IV Leveraging the Richness of XAML

14 Vector Graphics 333

Shapes 334

Geometries 340

Brushes 348

Summary 363

15 Animation 365

Theme Transitions 366

Theme Animations 376

Custom Animations 382

Custom Keyframe Animations 395

Easing Functions 400

Manual Animations 404

Summary 406

16 Styles, Templates, and Visual States 409

Styles 410

Templates 418

Visual States 428

Summary 438

Part V Exploiting Windows 8

17 Data Binding 439

Introducing Binding 439

Controlling Rendering 447

Customizing the View of a Collection 455

Summary 459

18 Data 461

App Data 461

User Data 466

Networking 469

Summary 474

19 Charms 477

Search 477

Share 486

Devices 492

Settings 503

Summary 508

20 Extensions 509

Account Picture Provider 509

AutoPlay Content and AutoPlay Device 512

Contact Picker 514

File Type Associations 516

Protocol 518

Background Tasks 519

Summary 527

21 Sensors and Other Devices 529

Accelerometer 529

Gyrometer 532

Inclinometer 532

Compass 533

Light Sensor 533

Orientation 533

Location 534

Proximity 535

Summary 538

Part VI Advanced Topics

22 Thinking Outside the App: Live Tiles, Toast Notifications, and the Lock Screen 539

Live Tiles 539

Toast Notifications 552

The Lock Screen 556

Summary 557

Index 559

Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star

(1)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted December 24, 2012

    Great method of teaching new technology

    This book is going to be a great help. My first experience with Adam Nathan’s writing was his book: “101 Windows Phone 7 Apps." It looks like this book is similar in its design, in that he takes you from the basic to the complex in a step by step method. I’ve only read a little, but I already know I am going to enjoy this journey. I look forward to taking some of my Windows Phone Apps and moving them to Windows 8 Apps. Should be fun.

    0 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)