Lecture # 6 Engr. Ali Javed 11th March, 2014

Size: px
Start display at page:

Download "Lecture # 6 Engr. Ali Javed 11th March, 2014"

Transcription

1 Lecture # 6 Engr. Ali Javed 11 th March, 2014

2 Instructor s Information Instructor: Engr. Ali Javed Assistant Professor Department of Software Engineering U.E.T Taxila ali.javed@uettaxila.edu.pk Contact No: Office hours: Monday, 09:00-11:00, Office # 7 S.E.D Engr. Ali Javed

3 Course Information Course Name: Mobile Application Development Course Code: SE-5020 Course Link: Engr. Ali Javed

4

5 Data Binding 5

6 One Way Data Binding 6

7 Two Way Data Binding 7

8 Creating an Adder class 8

9 Creating an object to bind to public class AdderClass { private int topvalue; public int TopValue { get { return topvalue; } set { topvalue = value; } } // repeat for bottomvalue } public int AnswerValue { get { return topvalue + bottomvalue;} } 9

10 The AdderClass 10

11 Adding Notification Behaviour public interface INotifyPropertyChanged { // Summary: // Occurs when a property value changes. event PropertyChangedEventHandler PropertyChanged; } 11

12 Silverlight display elements PropertyChanged(this, new PropertyChangedEventArgs("AnswerValue")); 12

13 Reading back the property public int AnswerValue { get { return topvalue + bottomvalue; } } 13

14 Demo 14

15 Binding a class to the xaml xmlns:local="clr-namespace:addingmachine" 15

16 Mapping a class to a resource <phone:phoneapplicationpage.resources> <local:adderclass x:key="adderclass" /> </phone:phoneapplicationpage.resources> 16

17 Adding the resource to an element <Grid x:name="layoutroot" Background="Transparent" DataContext="{StaticResource AdderClass}"> 17

18 Business Objects and Silverlight 18

19 Binding the top line to AdderClass 19

20 Applying Data Binding 20

21 One Way binding for the answer 21

22 Databinding and the DataContext <TextBox Height="72" HorizontalAlignment="Left" Margin="8,19,0,0" Name="firstNumberTextBox" Text="{Binding TopValue, Mode=TwoWay}" VerticalAlignment="Top" Width="460" TextAlignment="Center" > 22

23 Databinding and the DataContext // Constructor public MainPage() { InitializeComponent(); } AdderClass adder = new AdderClass(); ContentGrid.DataContext = adder; 23

24 Demo 24

25 Session 4.4

26 Topics

27 Customer Manager 27

28 Application Data 28

29 The Customer class public class Customer { public string Name { get; set; } public string Address { get; set; } public int ID { get; set; } } public Customer(string inname, string inaddress, int inid) { Name = inname; Address = inaddress; ID = inid; } 29

30 The Customers class public class Customers { public string Name { get; set; } } public Customers(string inname) { Name = inname; CustomerList = new List<Customer>(); } public List<Customer> CustomerList; 30

31 Sample Data 31

32 Sample Data string [] firstnames = new string [] { "Rob", "Jim", "Joe", "Nigel", "Sally", "Tim"} ; string[] lastsnames = new string[] { "Smith", "Jones", "Bloggs", "Miles", "Wilkinson", "Brown" }; 32

33 Sample Data Generator public static Customers MakeTestCustomers() { int id = 0; } 33 foreach (string lastname in lastsnames) { foreach (string firstname in firstnames) { //Construct a customer name string name = firstname + " " + lastname; //Add the new customer to the list result.customerlist.add(new Customer(name, name + "'s House", id)); // Increase the ID for the next customer id++; } } return result;

34 Displaying a List using a StackPanel 34

35 Sample Data <StackPanel HorizontalAlignment="Left" Margin="0,0,0,0" Name="customersStackPanel" VerticalAlignment="Top"/> 35

36 Sample Data foreach (Customer c in customers.customerlist) { TextBlock customerblock = new TextBlock(); customerblock.text = c.name; customersstackpanel.children.add(customerblock); } 36

37 StackPanel Children 37

38 Stackpanel Display 38

39 Adding a ScrollViewer <ScrollViewer> <StackPanel HorizontalAlignment="Left Margin="0,0,0,0" Name="customersStackPanel VerticalAlignment="Top" /> </ScrollViewer> 39

40 Demo 40

41 The Silverlight ListBox element 41

42 The ListBox and Data Binding 42

43 Binding a Single Item <TextBlock Height="46" HorizontalAlignment="Left" Margin="158,208,0,0" Name="resultTextBlock" Text="{Binding Path=AnswerValue}" VerticalAlignment="Top" FontSize="30" Width="160" TextAlignment="Center" /> 43

44 Binding Complicated Data 44

45 Creating a DataTemplate <DataTemplate> <StackPanel> <TextBlock Text="{Binding Name}"/> <TextBlock Text="{Binding Address}"/> </StackPanel> </DataTemplate> 45

46 Using a DataTemplate in a ListBox <ListBox Name="customerList"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel> <TextBlock Text="{Binding Name}"/> <TextBlock Text="{Binding Address}"/> </StackPanel> </DataTemplate> </ListBox.ItemTemplate> </ListBox> 46

47 Setting the ItemSource customers = Customers.MakeTestCustomers(); customerlist.itemssource = customers.customerlist; 47

48 Displaying the ListBox 48

49 An Improved DataTemplate <DataTemplate> <StackPanel> <TextBlock Text="{Binding Name}" Style="{StaticResource PhoneTextExtraLargeStyle}"/> <TextBlock Text="{Binding Address}" Style="{StaticResource PhoneTextSubtleStyle}"/> </StackPanel> </DataTemplate> 49

50 Selecting Items in a ListBox 50

51 Selection Changed Events <ListBox Name="customerList" SelectionChanged="customerList_SelectionChanged"> 51

52 Selection Changed Events private void customerlist_selectionchanged(object sender, SelectionChangedEventArgs e) { // when we get here the user has selected a customer Customer selectedcustomer = customerlist.selecteditem as Customer; } MessageBox.Show(selectedCustomer.Name + " is selected"); 52

53 Demo 53

54 Reference Engr. Ali Javed 54

55 For any query Feel Free to ask Engr. Ali Javed 55

Introduction to Data Templates and Value Converters in Silverlight

Introduction to Data Templates and Value Converters in Silverlight Introduction to Data Templates and Value Converters in Silverlight An overview of Data Templates and Value Converters by JeremyBytes.com Overview Business applications are all about data, and laying out

More information

Name of Experiment: Country Database

Name of Experiment: Country Database Name of Experiment: Country Database Exp No: DB2 Background: Student should have basic knowledge of C#. Summary: Database Management is one of the key factors in any Mobile application development framework.

More information

Weather forecast ( part 2 )

Weather forecast ( part 2 ) Weather forecast ( part 2 ) In the first part of this tutorial, I have consumed two webservices and tested them in a Silverlight project. In the second part, I will create a user interface and use some

More information

This tutorial is designed for software developers who want to learn how to develop quality applications with clean structure of code.

This tutorial is designed for software developers who want to learn how to develop quality applications with clean structure of code. About the Tutorial Every good developer wants and tries to create the most sophisticated applications to delight their users. Most of the times, developers achieve this on the first release of the application.

More information

Getting Started with Banjos4Hire

Getting Started with Banjos4Hire Getting Started with Banjos4Hire Rob Miles Department of Computer Science Data Objects There are a number of objects that you will need to keep track of in the program Banjo Customer Rental You can use

More information

Week 8: Data Binding Exercise (Bookstore)

Week 8: Data Binding Exercise (Bookstore) BCIS 4650 Week 8: Data Binding Exercise (Bookstore) Page 1 of 6 Page 2 of 6 XAML CODE FOR MainPage.xaml

More information

Lecture # 7 Engr. Ali Javed 18th March, 2014

Lecture # 7 Engr. Ali Javed 18th March, 2014 Lecture # 7 Engr. Ali Javed 18 th March, 2014 Instructor s Information Instructor: Engr. Ali Javed Assistant Professor Department of Software Engineering U.E.T Taxila Email: ali.javed@uettaxila.edu.pk

More information

Accurate study guides, High passing rate! IT TEST BOOK QUESTION & ANSWER. Ittestbook provides update free of charge in one year!

Accurate study guides, High passing rate! IT TEST BOOK QUESTION & ANSWER. Ittestbook provides update free of charge in one year! IT TEST BOOK QUESTION & ANSWER Ittestbook provides update free of charge in one year! Accurate study guides, High passing rate! Exam : 070-506 Title : TS: Microsoft Silverlight 4, Development Version :

More information

var xdoc = XDocument.Load(inStream);

var xdoc = XDocument.Load(inStream); Gradebook Sample App Summary: The goal of this project is to demonstrate how to share code across project types by using a Portable Class Library between a traditional Windows* Desktop application and

More information

Step4: Now, Drag and drop the Textbox, Button and Text block from the Toolbox.

Step4: Now, Drag and drop the Textbox, Button and Text block from the Toolbox. Name of Experiment: Display the Unicode for the key-board characters. Exp No:WP4 Background: Student should have a basic knowledge of C#. Summary: After going through this experiment, the student is aware

More information

Exam sell. Higher Quality Better Service! Certified IT practice exam authority.

Exam sell. Higher Quality Better Service! Certified IT practice exam authority. Higher Quality Better Service! Exam sell Certified IT practice exam authority Accurate study guides, High passing rate! Exam Sell provides update free of charge in one year! http://www.examsell.com Exam

More information

RadPDFViewer For Silverlight and WPF

RadPDFViewer For Silverlight and WPF RadPDFViewer For Silverlight and WPF This tutorial will introduce the RadPDFViewer control, part of the Telerik suite of XAML controls Setting Up The Project To begin, open Visual Studio and click on the

More information

1) ItemsSource: it point to collection which has all the objects that will be shown in the list

1) ItemsSource: it point to collection which has all the objects that will be shown in the list How to bind XML file as collection of object in Silverlight using WCF service Introduction: Binding to a single object is straight forward, but practically we are more interested in binding to a collection

More information

Note: This demo app created for this lab uses the Visual Studio 2015 RTM and Windows Tools SDK ver

Note: This demo app created for this lab uses the Visual Studio 2015 RTM and Windows Tools SDK ver Windows 10 UWP Hands on Lab Lab 2: Note: This demo app created for this lab uses the Visual Studio 2015 RTM and Windows Tools SDK ver 10240. 1. Select the Models folder and bring up the popup menu and

More information

Microsoft Exam TS: Windows Applications Development with Microsoft.NET Framework 4 Version: 58.5 [ Total Questions: 228 ]

Microsoft Exam TS: Windows Applications Development with Microsoft.NET Framework 4 Version: 58.5 [ Total Questions: 228 ] s@lm@n Microsoft Exam 70-511 TS: Windows Applications Development with Microsoft.NET Framework 4 Version: 58.5 [ Total Questions: 228 ] Topic 1, C# Question No : 1 - (Topic 1) You use Microsoft.NET Framework

More information

CPSC Tutorial 5

CPSC Tutorial 5 CPSC 481 - Tutorial 5 Assignment #2 and WPF (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, Sowmya Somanath, and Kevin Ta) Introduction Contact Info li26@ucalgary.ca

More information

EXAM TS:Windows Apps Dev w/microsoft.net Framework 4((C# and VB) Buy Full Product.

EXAM TS:Windows Apps Dev w/microsoft.net Framework 4((C# and VB) Buy Full Product. Microsoft EXAM - 70-511 TS:Windows Apps Dev w/microsoft.net Framework 4((C# and VB) Buy Full Product http://www.examskey.com/70-511.html Examskey Microsoft 70-511 exam demo product is here for you to test

More information

Exam Name: TS: Microsoft.NET Framework 3.5, Windows Presentation Foundation Application

Exam Name: TS: Microsoft.NET Framework 3.5, Windows Presentation Foundation Application Vendor: Microsoft Exam Code: 70-502 Exam Name: TS: Microsoft.NET Framework 3.5, Windows Presentation Foundation Application Development Version: DEMO 1: You are creating a Windows Presentation Foundation

More information

Workspace Desktop Edition Developer's Guide. Customize Views and Regions

Workspace Desktop Edition Developer's Guide. Customize Views and Regions Workspace Desktop Edition Developer's Guide Customize Views and Regions 11/27/2017 Customize Views and Regions Purpose: To provide information about customizable views and their regions. Contents 1 Customize

More information

Hands-On Lab. Using Pivot and Panorama Controls

Hands-On Lab. Using Pivot and Panorama Controls Hands-On Lab Using Pivot and Panorama Controls Lab version: 1.0.0 Last updated: 12/8/2010 CONTENTS Overview... 3 Exercise 1: Introduction to Navigation in Windows Phone... 7 Task 1 Creating a Windows Phone

More information

Name of Experiment: Student Database

Name of Experiment: Student Database Name of Experiment: Student Database Exp No: DB1 Background: Student should have basic knowledge of C#. Summary: DBMS is a necessary requirement for any Mobile Application. We need to store and retrieve

More information

Exam Name: TS: Windows Applications Development with Microsoft.NET Framework 4

Exam Name: TS: Windows Applications Development with Microsoft.NET Framework 4 Vendor: Microsoft Exam Code: 70-511 Exam Name: TS: Windows Applications Development with Microsoft.NET Framework 4 Version: DEMO CSHARP QUESTION 1 You use Microsoft.NET Framework 4 to create a Windows

More information

Lesson 9: Exercise: Tip Calculator

Lesson 9: Exercise: Tip Calculator Lesson 9: Exercise: Tip Calculator In this lesson we ll build our first complete app, a Tip Calculator. It will help solve one of the fundamental problems that I have whenever I'm out to a restaurant,

More information

CPSC Tutorial 6

CPSC Tutorial 6 CPSC 481 - Tutorial 6 More WPF (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, Sowmya Somanath, and Kevin Ta) Introduction Contact Info li26@ucalgary.ca Please

More information

Hands-On Lab. Building Applications in Silverlight 4 Module 6: Printing the Schedule. Printing the Schedule

Hands-On Lab. Building Applications in Silverlight 4 Module 6: Printing the Schedule. Printing the Schedule Hands-On Lab Building Applications in Silverlight 4 Module 6: 1 P a g e Contents Introduction... 3 Exercise 1: on One Page... 4 Create the Printing ViewModel and View... 4 Hook up the Print Button... 7

More information

Microsoft Exam

Microsoft Exam Volume: 228 Questions Question No : 1 You use Microsoft.NET Framework 4 to create a Windows Forms application. You add a new class named Customer to the application. You select the Customer class to create

More information

WPF and MVVM Study Guides

WPF and MVVM Study Guides 1. Introduction to WPF WPF and MVVM Study Guides https://msdn.microsoft.com/en-us/library/mt149842.aspx 2. Walkthrough: My First WPF Desktop Application https://msdn.microsoft.com/en-us/library/ms752299(v=vs.110).aspx

More information

Week 6: First XAML Control Exercise

Week 6: First XAML Control Exercise BCIS 4650 Week 6: First XAML Control Exercise The controls you will use are: Blank App (Universal Windows), which contains a Grid control by default StackPanel (acts as a container for CheckBoxes and RadioButtons)

More information

Week 7: NavigationView Control Exercise

Week 7: NavigationView Control Exercise BCIS 4650 Week 7: NavigationView Control Exercise BUILD THE UI FIRST (ALWAYS). ================================================================================================ 1. Start with a New Project

More information

CPSC Tutorial 5 WPF Applications

CPSC Tutorial 5 WPF Applications CPSC 481 - Tutorial 5 WPF Applications (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, and Sowmya Somanath) Today Horizontal Prototype WPF Applications Controls

More information

Hands-On Lab. Sensors -.NET. Lab version: Last updated: 12/3/2010

Hands-On Lab. Sensors -.NET. Lab version: Last updated: 12/3/2010 Hands-On Lab Sensors -.NET Lab version: 1.0.0 Last updated: 12/3/2010 CONTENTS OVERVIEW... 3 EXERCISE 1: INTEGRATING THE SENSOR API INTO A WPF APPLICATION... 5 Task 1 Prepare a WPF Project for Sensor Integration...

More information

Building Next Generation GUIs using Microsoft Expression Interactive Designer

Building Next Generation GUIs using Microsoft Expression Interactive Designer Building Next Generation GUIs using Microsoft Expression Interactive Designer Adnan Farooq Hashmi MVP Windows SDK User Group Leader, Core.NET Speaker INETA Pakistan www.pkblogs.com/coredotnet Please note

More information

Windows Presentation Foundation. Jim Fawcett CSE687 Object Oriented Design Spring 2018

Windows Presentation Foundation. Jim Fawcett CSE687 Object Oriented Design Spring 2018 Windows Presentation Foundation Jim Fawcett CSE687 Object Oriented Design Spring 2018 References Pro C# 5 and the.net 4.5 Platform, Andrew Troelsen, Apress, 2012 Programming WPF, 2nd edition, Sells & Griffiths,

More information

Yes, this is still a listbox!

Yes, this is still a listbox! Yes, this is still a listbox! Step 1: create a new project I use the beta 2 of Visual Studio 2008 ( codename Orcas ) and Expression Blend 2.0 September preview for this tutorial. You can download the beta2

More information

The finished application DEMO ios-specific C# Android-specific C# Windows-specific C# Objective-C in XCode Java in Android Studio C# Shared Logic C# in Visual Studio ios codebase Android codebase Windows

More information

RadGanttView For Silverlight and WPF

RadGanttView For Silverlight and WPF RadGanttView For Silverlight and WPF This tutorial will introduce RadGanttView, part of the Telerik suite of XAML controls. Setting Up The Project To begin, open Visual Studio and click on the Telerik

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom

CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom CS3240 Lab SEM 1 2009/2010 Page 1 Overview In this lab, you will get familiarized with interactive media elements such

More information

Hands-On Lab. Using Bing Maps

Hands-On Lab. Using Bing Maps Hands-On Lab Using Bing Maps Lab version: 1.0.0 Last updated: 2/2/2011 CONTENTS Overview... 3 Exercise 1: Introduction to the Bing Map Control... 7 Task 1 Registering a Bing Maps Account... 7 Task 2 Working

More information

ArcGIS Pro SDK for.net Advanced User Interfaces in Add-ins. Wolfgang Kaiser

ArcGIS Pro SDK for.net Advanced User Interfaces in Add-ins. Wolfgang Kaiser ArcGIS Pro SDK for.net Advanced User Interfaces in Add-ins Wolfgang Kaiser Session Overview MVVM Model View ViewModel - View and View Model Implementation in Pro - Dockpane Example - MVVM concepts - Multi

More information

FOREWORD WHAT WE CAN LEARN TARGET READER

FOREWORD WHAT WE CAN LEARN TARGET READER i FOREWORD All the praises and gratitude to Allah SWT for the chance and the strength to compile and finish this e-book titled Silverlight for Windows Phone: LEARN & PRACTICE. It has been a enjoyable journey

More information

Authoring Guide Gridpro AB Rev: Published: March 2014

Authoring Guide Gridpro AB Rev: Published: March 2014 Authoring Guide Gridpro AB Rev: 2.5.5197 Published: March 2014 Contents Purpose... 3 Introduction... 3 Limitations... 3 Prerequisites... 3 Customizing Forms... 4 Launching the Customization Editor... 4

More information

Developing Native Windows Phone 7 Applications for SharePoint

Developing Native Windows Phone 7 Applications for SharePoint Developing Native Windows Phone 7 Applications for SharePoint Steve Pietrek Cardinal Solutions About Cardinal OUR FOCUS: Enterprise Rich Internet Applications Mobile Solutions Portals & Collaboration Business

More information

Lab 7: Silverlight API

Lab 7: Silverlight API Lab 7: Silverlight API Due Date: 02/07/2014 Overview Microsoft Silverlight is a development platform for creating engaging, interactive user experiences for Web, desktop, and mobile applications when online

More information

WebAqua.NET 2.0 White Paper

WebAqua.NET 2.0 White Paper WebAqua.NET 2.0 White Paper Table of Contents Overview... 3 Technology... 4 Silverlight 2.0... 4 ASP.NET... 6 Licensing and Deployment for Silverlight 2.0... 7 Runtime Licensing... 7 Deployment... 8 Design-time

More information

Sparkline for WPF 1. ComponentOne. Sparkline for WPF

Sparkline for WPF 1. ComponentOne. Sparkline for WPF Sparkline for WPF 1 ComponentOne Sparkline for WPF Sparkline for WPF 2 ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 2

CS3240 Human-Computer Interaction Lab Sheet Lab Session 2 CS3240 Human-Computer Interaction Lab Sheet Lab Session 2 Key Features of Silverlight Page 1 Overview In this lab, you will get familiarized with the key features of Silverlight, such as layout containers,

More information

Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C1: The Intro Project

Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C1: The Intro Project 1 Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C1: The Intro Project Copyright by V. Miszalok, last update: 16-10-2008 Preliminaries Version 01: Page.XAML Version 02: Page.XAML Version 03:

More information

Advanced Programming C# Lecture 3. dr inż. Małgorzata Janik

Advanced Programming C# Lecture 3. dr inż. Małgorzata Janik Advanced Programming C# Lecture 3 dr inż. Małgorzata Janik majanik@if.pw.edu.pl Winter Semester 2017/2018 Windows Presentation Foundation Windows Presentation Foundation Allows for clear separation between

More information

WebFront for Service Manager

WebFront for Service Manager WebFront for Service Manager Authoring Guide Gridpro AB Rev: 2.10.6513 (System Center 2012) & 3.0.6513 (System Center 2016) Published: November 2017 Contents Purpose... 3 Introduction... 3 Limitations...

More information

ComponentOne. Extended Library for UWP

ComponentOne. Extended Library for UWP ComponentOne Extended Library for UWP ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com Sales: sales@componentone.com

More information

Migrating to Windows Phone

Migrating to Windows Phone BOOKS FOR PROFESSIONALS BY PROFESSIONALS Liberty Blankenburg RELATED Migrating to Windows Phone Upgrade your existing programming knowledge and begin developing for the Windows Phone with Migrating to

More information

Portable Class Libraries ---

Portable Class Libraries --- Portable Class Libraries --- Overview In this lab, you ll learn about Portable Class Libraries (PCLs). PCLs enable you to create managed assemblies that work on more than one.net Framework platform. Within

More information

ComponentOne. HyperPanel for WPF

ComponentOne. HyperPanel for WPF ComponentOne HyperPanel for WPF Copyright 1987-2012 GrapeCity, Inc. All rights reserved. ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Internet:

More information

Authoring Guide v2.1 PATRIK SUNDQVIST

Authoring Guide v2.1 PATRIK SUNDQVIST 2012 Authoring Guide v2.1 PATRIK SUNDQVIST Purpose The purpose of this document is to provide assistance when customizing WebFront for Service Manager 2012. 1 TABLE OF CONTENTS 2 Introduction... 2 3 Limitations...

More information

ArcGIS Pro SDK for.net: Advanced User Interfaces in Add-ins. Wolfgang Kaiser

ArcGIS Pro SDK for.net: Advanced User Interfaces in Add-ins. Wolfgang Kaiser ArcGIS Pro SDK for.net: Advanced User Interfaces in Add-ins Wolfgang Kaiser Framework Elements - Recap Any Framework Element is an extensibility point - Controls (Button, Tool, and variants) - Hosted on

More information

Pro Windows 8.1. Development with. XAML and C# Jesse Liberty. Philip Japikse. Jon Galloway

Pro Windows 8.1. Development with. XAML and C# Jesse Liberty. Philip Japikse. Jon Galloway Pro Windows 8.1 Development with XAML and C# Jesse Liberty Philip Japikse Jon Galloway Contents About the Authors About the Technical Reviewers Acknowledgments xvii xix xxi HChapter 1: Getting Started

More information

Microsoft Corporation

Microsoft Corporation Microsoft Corporation http://www.jeff.wilcox.name/ 2 3 Display 480x800 QVGA Other resolutions in the future Capacitive touch 4+ contact points Sensors A-GPS, Accelerometer, Compass, Light Camera 5+ megapixels

More information

Implementing MVVM in Real World ArcGIS Server Silverlight Applications. Brandon Copeland LJA Engineering, Inc.

Implementing MVVM in Real World ArcGIS Server Silverlight Applications. Brandon Copeland LJA Engineering, Inc. Implementing MVVM in Real World ArcGIS Server Silverlight Applications Brandon Copeland LJA Engineering, Inc. 1 Agenda / Focused Topics Application Demo Model-View-ViewModel (MVVM) What is MVVM? Why is

More information

The parallel development of a Silverlight application on multiple devices

The parallel development of a Silverlight application on multiple devices June, 14th 2011 The parallel development of a Silverlight application on multiple devices Bachelor s Thesis Koos van Strien Supervisor(s): Willem Meints, Dick van Albada Signed: - University of Amsterdam

More information

sharpcorner.com/uploadfile/37db1d/4958/default.aspx?articleid=cb0b291c-52ae-4b80-a95c- 438d76fa1145

sharpcorner.com/uploadfile/37db1d/4958/default.aspx?articleid=cb0b291c-52ae-4b80-a95c- 438d76fa1145 Navigation in Silverlight -3 1. Introduction: In previous article we learn to navigate to another Silverlight page without using navigation framework, which is new feature in Silverlight 3. Read it Here:

More information

CODE Framework: Writing MVVM/MVC WPF Applications

CODE Framework: Writing MVVM/MVC WPF Applications CODE Framework: Writing MVVM/MVC WPF Applications The CODE Framework is an open-source application framework by the makers of CODE Magazine. It is entirely free of charge. It covers a wide range of features

More information

Programos gyvavimo ciklas

Programos gyvavimo ciklas Programos gyvavimo ciklas Būsenos Būsenos Startavimas App.xaml App.xaml.cs App() App.InitializePhoneApplication() {.. // neliečiamas App.Application_Launching() App.CompleteInitializePhoneApplication Aplikacija

More information

Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C5: The Complete Code of PathAnimation. Copyright by V. Miszalok, last update:

Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C5: The Complete Code of PathAnimation. Copyright by V. Miszalok, last update: 1 Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C5: The Complete Code of PathAnimation Preliminaries Page.XAML Page.xaml.cs Copyright by V. Miszalok, last update: 30-01-2009 Install 1) Visual

More information

For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to

For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. Contents at a Glance About the Authors...

More information

CS3240 Human-Computer Interaction

CS3240 Human-Computer Interaction CS3240 Human-Computer Interaction Lab Session 3 Supplement Creating a Picture Viewer Silverlight Application Page 1 Introduction This supplementary document is provided as a reference that showcases an

More information

Copyright Soyatec. Licensed under the Eclipse Public License 1.0

Copyright Soyatec. Licensed under the Eclipse Public License 1.0 Contents Needs Architecture XAML fundamentals Data Binding Presentation Modeling Framework - MDA Advanced features Roadmap Testimony Q&A Needs Visual VisualUI UI Editor Editor Business Analyst UI UI Modeler

More information

Index. Windows 10 running, 199 suspended state, 199 terminate apps,

Index. Windows 10 running, 199 suspended state, 199 terminate apps, A Application lifecycle activation ApplicationExecution State, 216 restoring navigation state, 216 217 restoring session information, 217 218 state transitions, 200 activation, 201 killing, 202 launching,

More information

About 1. Chapter 1: Getting started with xaml 2. Remarks 2. Versions 2. Examples 2. Hello World 2. Installation or Setup 3

About 1. Chapter 1: Getting started with xaml 2. Remarks 2. Versions 2. Examples 2. Hello World 2. Installation or Setup 3 xaml #xaml Table of Contents About 1 Chapter 1: Getting started with xaml 2 Remarks 2 Versions 2 Examples 2 Hello World 2 Installation or Setup 3 Chapter 2: Control Templates 5 Examples 5 Control Templates

More information

About 1. Chapter 1: Getting started with xaml 2. Remarks 2. Versions 2. Examples 2. Installation or Setup 2. Hello World 2

About 1. Chapter 1: Getting started with xaml 2. Remarks 2. Versions 2. Examples 2. Installation or Setup 2. Hello World 2 xaml #xaml Table of Contents About 1 Chapter 1: Getting started with xaml 2 Remarks 2 Versions 2 Examples 2 Installation or Setup 2 Hello World 2 Chapter 2: Control Templates 5 Examples 5 Control Templates

More information

Microsoft Windows Apps Dev w/microsoft.net Framework 4. Download Full Version :

Microsoft Windows Apps Dev w/microsoft.net Framework 4. Download Full Version : Microsoft 70-511 Windows Apps Dev w/microsoft.net Framework 4 Download Full Version : https://killexams.com/pass4sure/exam-detail/70-511 Answer: A, C QUESTION: 215 You develop a Windows Presentation Foundation

More information

Building Extensible XAML Client Apps

Building Extensible XAML Client Apps Building Extensible XAML Client Apps Brian Noyes IDesign Inc. (www.idesign.net) brian.noyes@idesign.net, @briannoyes About Brian Chief Architect IDesign Inc. (www.idesign.net) Microso7 Regional Director

More information

Programming Languages and Techniques (CIS120)

Programming Languages and Techniques (CIS120) Programming Languages and Techniques (CIS120) Lecture 24 March 18, 2016 The Java ASM What is the value of ans at the end of this program? Counter[] a = { new Counter(), new Counter() ; Counter[] b = {

More information

Media Programming on mobile devices (Windows Phone)

Media Programming on mobile devices (Windows Phone) Media Programming on mobile devices (Windows Phone) Bachelorarbeit / 188.939 zur Erlangung des akademischen Grades Bachelor of Science im Rahmen des Studiums Medieninformatik und Visual Computing / 033

More information

Applied WPF 4 in Context US $49.99 SOURCE CODE ONLINE

Applied WPF 4 in Context US $49.99 SOURCE CODE ONLINE www.it-ebooks.info Contents at a Glance About the Author... xii About the Technical Reviewer... xiii Acknowledgments... xiv Introduction... xv Chapter 1: Introducing WPF and XAML... 1 Chapter 2: Sample

More information

Sundew. Application Framework

Sundew. Application Framework Sundew Application Framework Contents Hukano Sundew... 3 Introduction... 3 Idea and motivation... 3 The Sundew Application Model... 4 Architecture... 4 Model-View-ViewModel according to Hukano... 5 ViewModels...

More information

Hands-On Lab. Hello Windows Phone

Hands-On Lab. Hello Windows Phone Hands-On Lab Hello Windows Phone Lab version: 1.1.0 Last updated: 12/8/2010 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING WINDOWS PHONE APPLICATIONS WITH MICROSOFT VISUAL STUDIO 2010 EXPRESS FOR WINDOWS

More information

Microsoft TS: Silverlight 4, Development. Practice Test. Version: QQ:

Microsoft TS: Silverlight 4, Development. Practice Test. Version: QQ: Microsoft 70-506 TS: Silverlight 4, Development Practice Test Version: 28.20 QUESTION NO: 1 You are developing a Silverlight 4 application. You handle the RightMouseButtonDown event of the applications

More information

ArcGIS Pro SDK for.net UI Design for Accessibility. Charles Macleod

ArcGIS Pro SDK for.net UI Design for Accessibility. Charles Macleod ArcGIS Pro SDK for.net UI Design for Accessibility Charles Macleod Overview Styling - Light, Dark, High Contrast Accessibility Custom Styling* Add-in Styling Since1.4: Light and Dark Theme and High Contrast

More information

Exam Name: MCTS: Windows Applications Development with Microsoft.NET Framework 4 Practice Test

Exam Name: MCTS: Windows Applications Development with Microsoft.NET Framework 4 Practice Test Vendor: Microsoft Exam Code: 70-511-Csharp Exam Name: MCTS: Windows Applications Development with Microsoft.NET Framework 4 Practice Test Version: Demo QUESTION: 1 You use Microsoft.NET Framework 4 to

More information

Q&A. DEMO Version

Q&A. DEMO Version TS: Windows Applications Development with Microsoft.NET Framework 4 Q&A DEMO Version Copyright (c) 2012 Chinatag LLC. All rights reserved. Important Note Please Read Carefully For demonstration purpose

More information

Connecting a Silverlight Application to Line-of-Business Information

Connecting a Silverlight Application to Line-of-Business Information Microsoft Collaboration Brief March, 2010 Connecting a Silverlight Application to Line-of-Business Information Using the Business Data Connectivity Services (BDC) in SharePoint Server Foundation 2010 Author

More information

Windows Phone 8 Game Development

Windows Phone 8 Game Development Windows Phone 8 Game Development Marcin Jamro Chapter No. 8 "Maps, Geolocation, and Augmented Reality" In this package, you will find: A Biography of the author of the book A preview chapter from the book,

More information

Launchers and Choosers Hands-on Lab. Hands-On Lab. Launchers and Choosers. Lab version: Last updated: 12/8/2010. Page 1

Launchers and Choosers Hands-on Lab. Hands-On Lab. Launchers and Choosers. Lab version: Last updated: 12/8/2010. Page 1 Hands-On Lab Launchers and Choosers Lab version: 1.0.0 Last updated: 12/8/2010 Page 1 CONTENTS Overview... 3 Exercise 1: Introduction to the Windows Phone Launchers... 8 Task 1 Adding and Navigating to

More information

Building a mobile enterprise application with Xamarin.Forms, Docker, MVVM and.net Core. Gill

Building a mobile enterprise application with Xamarin.Forms, Docker, MVVM and.net Core. Gill Building a mobile enterprise application with Xamarin.Forms, Docker, MVVM and.net Core Gill Cleeren @gillcleeren www.snowball.be Agenda Overall application structure The Xamarin application architecture

More information

windows-10-universal #windows- 10-universal

windows-10-universal #windows- 10-universal windows-10-universal #windows- 10-universal Table of Contents About 1 Chapter 1: Getting started with windows-10-universal 2 Remarks 2 Examples 2 Installation or Setup 2 Creating a new project (C# / XAML)

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration

CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration Page 1 Overview In this lab, users will get themselves familarise with fact that Expression Blend uses the identical

More information

9.3 Launchers and Choosers. Fast Application Switching and Design. Forcing a Program to be removed from memory

9.3 Launchers and Choosers. Fast Application Switching and Design. Forcing a Program to be removed from memory debugging. If you then press the Back button you will find that the program will resume execution after being reactivated. Forcing a Program to be removed from memory When we are testing your program we

More information

SAMPLE CHAPTER. C# and XAML. Pete Brown MANNING

SAMPLE CHAPTER. C# and XAML. Pete Brown MANNING SAMPLE CHAPTER C# and XAML Pete Brown MANNING Windows Store App Development by Pete Brown Chapter 18 Copyright 2013 Manning Publications brief contents 1 Hello, Modern Windows 1 2 The Modern UI 19 3 The

More information

CPSC Tutorial 9 Blend & Animations

CPSC Tutorial 9 Blend & Animations CPSC 481 - Tutorial 9 Blend & Animations (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, and Sowmya Somanath) Today Blend & Animations Using Blend Hands on example

More information

Topics. Windows Phone

Topics. Windows Phone Session 4.5 Topics The Story So Far 3 Multi-page applications 4 Adding another page 5 Pages and projects 6 Page Navigation private void page2button_click(object sender, RoutedEventArgs e) { NavigationService.Navigate(

More information

PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3

PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3 INTRODUCTION xix PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3 The Life of Windows 3 From Windows 3.1 to 32-bit 4 Windows XP

More information

WRITING THE MANAGEMENT SYSTEM APPLICATION

WRITING THE MANAGEMENT SYSTEM APPLICATION Chapter 10 WRITING THE MANAGEMENT SYSTEM APPLICATION We are going to write an application which will read and evaluate the data coming from our Arduino card reader application. We are going to make this

More information

IAP C# Lecture 5 XAML and the Windows Presentation Foundation. Geza Kovacs

IAP C# Lecture 5 XAML and the Windows Presentation Foundation. Geza Kovacs IAP C# Lecture 5 XAML and the Windows Presentation Foundation Geza Kovacs What is Windows Presentation Foundation (WPF)? A toolkit for building graphical user interfaces (GUI) for an application Ships

More information

Hands-On Lab. Windows Phone Navigation and Controls

Hands-On Lab. Windows Phone Navigation and Controls Hands-On Lab Windows Phone Navigation and Controls Lab version: 1.0.0 Last updated: 12/8/2010 CONTENTS Overview... 3 Exercise 1: Introduction to the Windows Phone Navigation Model... 7 Task 1 Creating

More information

SOFTWARE REQUIREMENTS ENGINEERING LECTURE # 7 TEAM SKILL 2: UNDERSTANDING USER AND STAKEHOLDER NEEDS REQUIREMENT ELICITATION TECHNIQUES-IV

SOFTWARE REQUIREMENTS ENGINEERING LECTURE # 7 TEAM SKILL 2: UNDERSTANDING USER AND STAKEHOLDER NEEDS REQUIREMENT ELICITATION TECHNIQUES-IV 1 SOFTWARE REQUIREMENTS ENGINEERING LECTURE # 7 TEAM SKILL 2: UNDERSTANDING USER AND STAKEHOLDER NEEDS REQUIREMENT ELICITATION TECHNIQUES-IV 12 th June, 2013 Instructor Information 2 Course Instructor:

More information

XAML - BUTTON. The Button class represents the most basic type of button control. The hierarchical inheritance of Button class is as follows

XAML - BUTTON. The Button class represents the most basic type of button control. The hierarchical inheritance of Button class is as follows http://www.tutorialspoint.com/xaml/xaml_button.htm XAML - BUTTON Copyright tutorialspoint.com The Button class represents the most basic type of button control. The hierarchical inheritance of Button class

More information

ComponentOne. Document Library for UWP

ComponentOne. Document Library for UWP ComponentOne Document Library for UWP GrapeCity US GrapeCity 201 South Highland Avenue, Suite 301 Pittsburgh, PA 15206 Tel: 1.800.858.2739 412.681.4343 Fax: 412.681.4384 Website: https://www.grapecity.com/en/

More information

Windows 10 Development: Table of Contents

Windows 10 Development: Table of Contents Windows 10 Development: Table of Contents In this book we ll dive into some of the basics you ll need to build real-world applications, such as newly updated Falafel 2 Go for Windows 10 application. We

More information

03 Model-View-ViewModel. Ben Riga

03 Model-View-ViewModel. Ben Riga 03 Model-View-ViewModel Ben Riga http://about.me/ben.riga Course Topics Building Apps for Both Windows 8 and Windows Phone 8 Jump Start 01 Comparing Windows 8 and Windows Phone 8 02 Basics of View Models

More information

4/25/ Xamarin. All rights reserved.

4/25/ Xamarin. All rights reserved. 1 Xamarin + Xamarin.Forms Traditional Xamarin approach With Xamarin.Forms: more code-sharing, native controls Shared UI Code 2 4/25/15 Metroon for ios 2014 X amarin. All rights r eserved. 3 What s Included

More information