1. Trang chủ
  2. » Công Nghệ Thông Tin

Windows phone toolkit aug 2011 in depth v1

245 425 2
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 245
Dung lượng 4,67 MB

Nội dung

Lập trình wp7

Silverlight for Windows Phone Toolkit in Depth Silverlight for Windows Phone Toolkit In Depth by Boryana Miloshevska www.windowsphonegeek.com Silverlight for Windows Phone Toolkit in Depth About the Author Boryana Miloshevska is a software developer with more than years of professional experience with NET technologies She is a co-founder of www.windowsphonegeek.com - one of the biggest windows phone development communities She is also working as a consultant in the areas of Silverlight and Windows Phone application development What else? - - Active blogger and tech enthusiast trying to contribute to the windows phone development community in various ways Author of more than 300 development articles, tutorials and guides related to Silverlight and Windows Phone technology most of which published on www.windowsphonegeek.com MCTS, MCPD Web and Desktop development Winner of the Microsoft “Engineering Excellence Achievement” Award MSc Computer Science MSc Technology Entrepreneurship (UCL , London UK) www.windowsphonegeek.com Silverlight for Windows Phone Toolkit in Depth Table of Contents About the Author Introduction 10 Who is this book for? 10 What this book covers? 10 How is this book structured? 11 Source code 12 What else? 12 Why did I decide to write this FREE e-book? 12 Introduction to Silverlight for Windows Phone 14 Introduction to Silverlight for Windows Phone Toolkit 17 Components included in the Silverlight for Windows Phone Toolkit 17 What's included in the source code? 18 Suggestions? Features? Questions? 18 Official Blogs & Tweets 19 What else will you need? 19 Getting Started with the Silverlight for Windows Phone Toolkit 20 Option1: Install the Windows Phone Toolkit msi 21 Option2: Download the “Silverlight for Windows Phone Toolkit Source & Sample - Aug 2011.zip” 24 Option3: Download only the XAP file 26 Option4: Install Windows Phone Toolkit using NuGet 26 How to use unofficial builds 27 How to use Windows Phone Toolkit in Visual Studio 30 How to add Windows Phone Toolkit Controls to the Visual Studio Toolbox 33 How to use Windows Phone Toolkit in Expression Blend 38 AutoCompleteBox 42 Overview 42 Getting Started 42 Key Properties 44 www.windowsphonegeek.com Silverlight for Windows Phone Toolkit in Depth Key Events 50 Key Methods 52 Data Binding AutoCompleteBox 53 Data Binding AutoCompleteBox via ValueMemberBinding 57 ContextMenu 59 Overview 59 Getting Started 59 Key Properties 60 Key Events 62 MenuItem 63 MenuItem Key Properties 63 MenuItem Key Events 64 Populating ContextMenu with MenuItems 64 Data Binding ContextMenu 66 Using ContextMenu inside ListBox ItemTemplate (DataTemplate) 67 DatePicker 71 Overview 71 Getting Started 71 Key Properties 73 Key Events 74 Customizing the full-screen picker page 75 ExpanderView 78 Overview 78 Getting Started 78 Key Properties 79 Key Events 81 Data Binding ExpanderView 82 ExpandAll and CollapseAll Example 88 GestureService and GestureListener 89 Overview 89 www.windowsphonegeek.com Silverlight for Windows Phone Toolkit in Depth What is GestureService? 90 What is GestureListener? 91 Getting Started 91 GestureListener Key Events 93 Examples 99 HubTile 101 Overview 101 Getting Started 101 Key Properties 103 HubTileService 104 Data Binding HubTile 106 Freezing and Unfreezing tiles 109 ListPicker 112 Overview 112 Getting Started 112 Key Properties 114 Key Events & Methods 117 Data Binding ListPicker 117 Working with ListPicker SelectedItem 120 LockablePivot 125 Overview 125 Getting Started 125 Key Properties 126 Example 126 LoopingSelector 130 Overview 130 Getting Started 130 Key Properties 136 Key Events 136 ILoopingSelectorDataSource 137 www.windowsphonegeek.com Silverlight for Windows Phone Toolkit in Depth Implementing a generic LoopingSelectorDataSource 137 LoopingSelector with Double Data 141 LoopingSelector with Int Data 142 LoopingSelector with String Data 143 LoopingSelector with DateTime Data 144 Advanced Data Binding using IComparable 145 Advanced Data Binding using a separate Comparer 148 LongListSelector 151 Overview 151 Visual structure 151 Getting Started 153 Key Properties 154 Key Events 159 Key Methods 162 Data Binding LongListSelector 163 Customizing LongListSelector group popup 170 Animating LongListSelector group items using transitions 171 Dynamically Insert, Update and Delete data in a data bound LongListSelector 175 MultiselectList 181 Overview 181 Getting Started 181 Key Properties 182 Key Events 183 MultiselectItem 184 MultiselectItem Key Properties & Events 184 Data Binding MultiselectList 185 PhoneTextBox 193 Overview 193 Getting Started 193 Key Properties 194 www.windowsphonegeek.com Silverlight for Windows Phone Toolkit in Depth Key Events 197 PerformanceProgressBar 198 Overview 198 Getting Started 199 Key Properties 200 Transitions 201 Overview 201 Key concepts 201 Getting Started 204 Page Transition 206 UIElement Transition 207 Custom Transitions 208 TiltEffect 215 Overview 215 Getting Started 215 Key Properties 217 How to Enable TiltEffect globally 217 How to Suppress TiltEffect 218 Adding more controls to TiltableItems 219 Adding TiltEffect to data bound ListPicker Items 219 TimePicker 221 Overview 221 Getting Started 221 Key Properties 223 Key Events 225 Customizing the full-screen picker page 225 ToggleSwitch 228 Overview 228 Getting Started 228 Key Properties 229 www.windowsphonegeek.com Silverlight for Windows Phone Toolkit in Depth Key Events 231 Dynamically Changing ToggleSwitch Content depending on the current State 232 WrapPanel 234 Overview 234 Getting Started 234 Key Properties 236 Horizontal WrapPanel 236 Vertical WrapPanel 237 WrapPanel as ItemsPanel 237 Additional Components 239 RecurringDaysPicker 239 HeaderedItemsControl 240 DateTimeConverters 240 LocalizedResources 244 www.windowsphonegeek.com Silverlight for Windows Phone Toolkit in Depth Introduction Who is this book for? The target audience of this book is anyone who is interested in Silverlight for Windows Phone development It covers all controls from the Microsoft Silverlight for Windows Phone Toolkit 7.1 - Aug 2011 SDK (Mango) This book contains all the information necessary to get you started with the Silverlight for Windows Phone Toolkit It is suitable for both beginners and advanced developers Before you begin you will need to have a basic understanding of:    Silverlight principles Windows Phone principles C# programming What this book covers? The book covers “in depth” all controls from the Microsoft Silverlight for Windows Phone Toolkit including: o o o o o o o o o o o o o o o o o o AutoCompleteBox ContextMenu DatePicker DateTimeConverters ExpanderView Gestures HeaderedItemsControl HubTile ListPicker LocalizedResources LockablePivot LoopingSelector LongListSelector MultiselectList Page Transitions PerformanceProgressbar PhoneTextBox WrapPanel www.windowsphonegeek.com 10 ...Silverlight for Windows Phone Toolkit in Depth Silverlight for Windows Phone Toolkit In Depth by Boryana Miloshevska www.windowsphonegeek.com Silverlight for Windows Phone Toolkit in Depth About... converters, binding helpers, data helpers etc www.windowsphonegeek.com 16 Silverlight for Windows Phone Toolkit in Depth Introduction to Silverlight for Windows Phone Toolkit Silverlight for Windows Phone. .. on Windows Phone is supported through Visual Studio 2010 and Expression Blend for Windows Phone In addition, existing www.windowsphonegeek.com 15 Silverlight for Windows Phone Toolkit in Depth

Ngày đăng: 27/06/2013, 17:01

TỪ KHÓA LIÊN QUAN

w