Windows 8 apps revealed using XAML and C#
This 88-page primer unveils the key features of Microsoft's eagerly anticipated Windows 8 operating system. Windows 8 contains Microsoft's revolutionary new application framework for building dynamic and responsive touch-enabled applications that target both desktops and mobile devices. Ex...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
New York :
Apress
c2012.
|
Edición: | 1st ed. 2012. |
Colección: | The expert's voice in Windows 8
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628810006719 |
Tabla de Contenidos:
- Title Page; Copyright Page; Dedication Page; Contents at a Glance; Table of Contents; About The Editor; About the Technical Reviewer; Acknowledgments; CHAPTER 1 Getting Started; About This Book; What Do You Need to Know Before You Read This Book?; What Software Do You Need for This Book?; What Is the Structure of This Book?; Chapter 1: Getting Started; Chapter 2: Data, Bindings, and Pages; Chapter 3: AppBars, Flyouts, and NavBars; Chapter 4: Layouts and Tiles; Chapter 5: App Life Cycle and Contracts; More About the Example Windows App; Is There a Lot of Code in This Book?
- Getting Up and RunningCreating the Project; Exploring the App.xaml File; Exploring the MainPage.xaml File; Exploring the StandardStyles.xaml File; Exploring the Package.appxmanifest File; An Incredibly Brief XAML Overview; Using the Visual Studio Design Surface; Configuring Controls in XAML; Applying Styles; Specifying Event Handlers; Configuring Controls in Code; Running and Debugging a Windows App; Running a Windows App in the Simulator; Summary; CHAPTER 2 Data, Binding, and Pages; Adding a View Model; Adding the Main Layout; Writing the Code; Adding a Resource Dictionary; Writing the XAML
- Running the AppInserting Other Pages into the Layout; Dynamically Inserting Pages into the Layout; Switching Between Pages; Implementing the Embedded Page; Summary; CHAPTER 3 AppBars, Flyouts, and Navigation; Adding an AppBar; Declaring the AppBar; Adapting Predefined AppBar Buttons; Creating Custom AppBar Button Styles; Implementing AppBar Button Actions; Creating Flyouts; Creating the User Control; Writing the User Control Code; Positioning the Popup Control; Showing and Hiding the Popup Control; Adding the Flyout to the App; Showing the Flyout; Creating a More Complex Flyout
- Writing the CodeAdding the Flyout to the App; Navigating Within a Windows App; Creating the Wrapper; Creating the Other View; Testing the Navigation; Summary; CHAPTER 4 Views and Tiles; Supporting Views; Responding to View Changes in Code; Responding to View Changes in XAML; Breaking Out of the Snapped View; Using Tiles and Badges; Improving Static Tiles; Creating Live Tiles; Populating the XML Template; Applying the Tile Update; Calling the Tile Update Method; Testing the Tile Update; Updating Wide Tiles; Applying Badges; Summary; CHAPTER 5 App Life Cycle and Contracts
- Dealing with the App Life CycleCorrecting the Visual Studio Event Code; Simulating the Life-Cycle Events; Testing the Life-Cycle Events; Activate the App; Suspend the App; Resuming the App; Adding a Background Activity; Extending the View Model; Displaying the Location Data; Declaring the App Capabilities; Controlling the Background Task; Dispatching the UI Update; Testing the Background Task; Implementing a Contract; Declaring Support for the Contract; Implementing the Search Feature; Responding to the Search Life-Cycle Event; Testing the Search Contract; Summary; Index