Top Banner
Deep dive on WinJS ListView Mike Mastrangelo Senior Software Development Engineer 3-108
14

Deep dive on WinJS ListView

Feb 22, 2016

Download

Documents

Chin

Deep dive on WinJS ListView. Mike Mastrangelo Senior Software Development Engineer 3-108. Agenda. Creating and styling Grouping and Semantic Zoom Adding interactivity. Demo: Creating and styling a ListView. Recap: Creating and styling a ListView. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Deep dive on WinJS ListView

Deep dive on WinJS ListViewMike MastrangeloSenior Software Development Engineer3-108

Page 2: Deep dive on WinJS ListView
Page 3: Deep dive on WinJS ListView
Page 4: Deep dive on WinJS ListView

Creating and stylingGrouping and Semantic ZoomAdding interactivity

Agenda

Page 5: Deep dive on WinJS ListView

Demo: Creating and styling a ListView

Page 6: Deep dive on WinJS ListView

Recap: Creating and styling a ListViewPopulate a data source with your items• Binding list for most ListViews• Virtualized data source for very large data sets.

Design the layout for your items with a template• HTML binding templates for most ListViews• JavaScript function templates for complex rendering

Use CSS to style your ListView and Items.

Page 7: Deep dive on WinJS ListView

Demo: Grouping and Semantic Zoom

Page 8: Deep dive on WinJS ListView

Recap: Grouping and Semantic ZoomCreate a group data source with grouping functions

createGrouped(groupKey, groupData)

Design group header template

Hook up Semantic Zoom by adding zoomed in and zoomed out ListViews

Page 9: Deep dive on WinJS ListView

Demo: Adding interactivity

Page 10: Deep dive on WinJS ListView

Recap: Adding interactivitySpecify SelectionMode and TapBehavior

Control your AppBar with ListView selection events

Look up the current selection and edit the binding list to change the ListView

Use win-interactive class name for interactive elements

Page 11: Deep dive on WinJS ListView

Wrapping upCreate and style beautiful and interactive views without a lot of work

For large lists use Grouping and Semantic Zoom

Push the boundaries with rich interactivity and animations

Page 12: Deep dive on WinJS ListView

MSDN Link for ListView: http://msdn.microsoft.com/en-us/library/windows/apps/br211837.aspx

Questions?

Page 14: Deep dive on WinJS ListView

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.