Programming Windows

豆瓣
Programming Windows

登入後可管理標記收藏

ISBN: 9780735671768
作者: Charles Petzold
出版社: Microsoft Press
發行時間: 2013 -1
裝訂: Paperback
價格: USD 59.99
頁數: 1136

/ 10

0 個評分

評分人數不足
借閱或購買

Writing Windows 8 Apps With C# and XAML

Charles Petzold   

簡介

Reimagined for full-screen and touch-optimized apps, Windows 8 provides a platform for reaching new users in new ways. In response, programming legend Charles Petzold is rewriting his classic Programming Windows - one of the most popular programming books of all time - to show developers how to use existing skills and tools to build Windows 8 apps. Programming Windows, Sixth Edition focuses on creating Windows 8 apps accessing the Windows Runtime with XAML and C#. The book also provides C++ code samples. The Sixth Edition is organized in two parts: Part I, "Elementals," begins with the interrelationship between code and XAML, basic event handling, dynamic layout, controls, templates, asynchronous processing, the application bar, control customization, and collections. You should emerge from Part I ready to create sophisticated page-oriented collection-based user interfaces using the powerful ListView and GridView controls. Part II, "Specialties," explores topics you might not need for every program but are essential to a well-rounded education in Windows 8. These include multitouch, bitmap graphics, interfacing with share and search facilities, printing, working with the sensors (GPS and orientation), text, obtaining input from the stylus (including handwriting recognition), accessing web services, calling Win32 and DirectX functions, and bringing your application to the Windows 8 app store.

contents

Chapter 1 Markup and Code
The First Project
Graphical Greetings
Variations in Text
Media As Well
The Code Alternatives
Images in Code
Not Even a Page
Chapter 2 XAML Syntax
The Gradient Brush in Code
Property Element Syntax
Content Properties
The TextBlock Content Property
Sharing Brushes (and Other Resources)
Resources Are Shared
A Bit of Vector Graphics
Styles
A Taste of Data Binding
Chapter 3 Basic Event Handling
The Tapped Event
Routed Event Handling
Overriding the Handled Setting
Input, Alignment, and Backgrounds
Size and Orientation Changes
Bindings to Run?
Timers and Animation
Chapter 4 Presentation with Panels
The Border Element
Rectangle and Ellipse
The StackPanel
Horizontal Stacks
WhatSize with Bindings (and a Converter)
The ScrollViewer Solution
Layout Weirdness or Normalcy?
Making an E-Book
Fancier StackPanel Items
Creating Windows Runtime Libraries
The Wrap Alternative
The Canvas and Attached Properties
The Z-Index
Canvas Weirdness
Chapter 5 Control Interaction
The Control Difference
The Slider for Ranges
The Grid
Orientation and Aspect Ratios
Slider and the Formatted String Converter
Tooltips and Conversions
Sketching with Sliders
The Varieties of Button Experience
Dependency Properties
RadioButton Tags
Keyboard Input and TextBox
Touch and Thumb
Chapter 6 WinRT and MVVM
MVVM (Brief and Simplified)
Data Binding Notifications
A View Model for ColorScroll
Deriving from BindableBase
The DataContext Property
Bindings and TextBox
Buttons and MVVM
The DelegateCommand Class
Chapter 7 Building an Application
Commands, Options, and Settings
The Segoe UI Symbol Font
The Application Bar
Popups and Dialogs
Windows Runtime File I/O
Await and Async
Calling Your Own Async Methods
Controls for XamlCruncher
Application Settings and Isolated Storage
The XamlCruncher Page
Parsing the XAML
XAML Files In and Out
The Settings Dialog
Beyond the Windows Runtime

其它版本
短評
評論
笔记