SlideShare a Scribd company logo
1 of 11
Windows Phone App
La(B)Nova
LinearGradient
• <LinearGradientBrush>
• <GradientStop>
– dichiarare attributi “color” & “offset”
LinearGradient
• dichiarare due <GradientStop>
– uno per l’inizio, uno per la fine
– calibrare con attributo “Offset”
classe “esercizio”
• dichiarare un int numeroVolte e bool “difficile”
Layout first page xaml
• due <StackPanel> innestati
• attributo “Orientation” per la gestione interna degli elementi
ViewModel
• dichiarare una nuova classe apposita per il
ViewModel
collegare con la classe
dichiarata prima!
ViewModel
• implementazione del bool “Difficile”
Interfaccia iNotifyPropertyChanged
• Per modificare e aggiornare l’interfaccia tramite codice
• importare System.ComponentModel
• applicare al ViewModel di prima
iNotifyPropertyChanged:
implementazione metodi
• OnPropertyChanged
iNotifyPropertyChanged:
implementazione metodi
iNotifyPropertyChanged:
risultato finale

More Related Content

Viewers also liked (9)

Climate Change Atlas: New England and northern New York
Climate Change Atlas: New England and northern New YorkClimate Change Atlas: New England and northern New York
Climate Change Atlas: New England and northern New York
 
Watchkit Fundamentals
Watchkit FundamentalsWatchkit Fundamentals
Watchkit Fundamentals
 
Hoang - Climate change and the Planning Rule
Hoang - Climate change and the Planning RuleHoang - Climate change and the Planning Rule
Hoang - Climate change and the Planning Rule
 
Real-World Examples of Forest Adaptation
Real-World Examples of Forest AdaptationReal-World Examples of Forest Adaptation
Real-World Examples of Forest Adaptation
 
Climate Change Effects on Water
Climate Change Effects on WaterClimate Change Effects on Water
Climate Change Effects on Water
 
Adaptation and Silvicultural Decision-making
Adaptation and Silvicultural Decision-makingAdaptation and Silvicultural Decision-making
Adaptation and Silvicultural Decision-making
 
PERUBAHAN SOSIAL,BUDAYA DAN KOMUNIKASI ANTAR BANGSA
PERUBAHAN SOSIAL,BUDAYA DAN KOMUNIKASI ANTAR BANGSAPERUBAHAN SOSIAL,BUDAYA DAN KOMUNIKASI ANTAR BANGSA
PERUBAHAN SOSIAL,BUDAYA DAN KOMUNIKASI ANTAR BANGSA
 
Climate Change Effects on Agriculture in the Midwest
Climate Change Effects on Agriculture in the MidwestClimate Change Effects on Agriculture in the Midwest
Climate Change Effects on Agriculture in the Midwest
 
4 dw parte2-modifiche
4 dw parte2-modifiche4 dw parte2-modifiche
4 dw parte2-modifiche
 

Similar to Windows phone App Lesson 1

Meetup ASP.NET Core Angular
Meetup ASP.NET Core AngularMeetup ASP.NET Core Angular
Meetup ASP.NET Core Angulardotnetcode
 
ASP.NET MVC: Andare oltre il 100% (Web@work)
ASP.NET MVC: Andare oltre il 100% (Web@work)ASP.NET MVC: Andare oltre il 100% (Web@work)
ASP.NET MVC: Andare oltre il 100% (Web@work)Giorgio Di Nardo
 
ios 8 - parte 2 - todo-app - ita
ios 8 - parte 2 - todo-app - itaios 8 - parte 2 - todo-app - ita
ios 8 - parte 2 - todo-app - itaDario Rusignuolo
 
PyPaPi Qt Java Framework
PyPaPi Qt Java FrameworkPyPaPi Qt Java Framework
PyPaPi Qt Java FrameworkTiziano Lattisi
 
Servizi e Dependency Injection in Angular
Servizi e Dependency Injection in AngularServizi e Dependency Injection in Angular
Servizi e Dependency Injection in AngularValerio Como
 
Ubuntu Touch: Sviluppo App e Convergenza
Ubuntu Touch: Sviluppo App e ConvergenzaUbuntu Touch: Sviluppo App e Convergenza
Ubuntu Touch: Sviluppo App e ConvergenzaGiulio Collura
 
Drupal dashboard for dummies with d3
Drupal dashboard for dummies with d3Drupal dashboard for dummies with d3
Drupal dashboard for dummies with d3Eugenio Minardi
 
Mvc e di spring e angular js
Mvc e di   spring e angular jsMvc e di   spring e angular js
Mvc e di spring e angular jsRiccardo Cardin
 
Non solo Django: MVC orientato agli oggetti con Plone e Zope Toolkit
Non solo Django: MVC orientato agli oggetti con Plone e Zope ToolkitNon solo Django: MVC orientato agli oggetti con Plone e Zope Toolkit
Non solo Django: MVC orientato agli oggetti con Plone e Zope ToolkitMaurizio Delmonte
 
E suap - tecnologie client
E suap - tecnologie client E suap - tecnologie client
E suap - tecnologie client Sabino Labarile
 
Asp.Net MVC 3 - Il Model View Controller secondo Microsoft
Asp.Net MVC 3 - Il Model View Controller secondo MicrosoftAsp.Net MVC 3 - Il Model View Controller secondo Microsoft
Asp.Net MVC 3 - Il Model View Controller secondo MicrosoftStefano Benedetti
 

Similar to Windows phone App Lesson 1 (16)

Meetup ASP.NET Core Angular
Meetup ASP.NET Core AngularMeetup ASP.NET Core Angular
Meetup ASP.NET Core Angular
 
ASP.NET MVC: Andare oltre il 100% (Web@work)
ASP.NET MVC: Andare oltre il 100% (Web@work)ASP.NET MVC: Andare oltre il 100% (Web@work)
ASP.NET MVC: Andare oltre il 100% (Web@work)
 
ios 8 - parte 2 - todo-app - ita
ios 8 - parte 2 - todo-app - itaios 8 - parte 2 - todo-app - ita
ios 8 - parte 2 - todo-app - ita
 
PyPaPi Qt Java Framework
PyPaPi Qt Java FrameworkPyPaPi Qt Java Framework
PyPaPi Qt Java Framework
 
Servizi e Dependency Injection in Angular
Servizi e Dependency Injection in AngularServizi e Dependency Injection in Angular
Servizi e Dependency Injection in Angular
 
Ubuntu Touch: Sviluppo App e Convergenza
Ubuntu Touch: Sviluppo App e ConvergenzaUbuntu Touch: Sviluppo App e Convergenza
Ubuntu Touch: Sviluppo App e Convergenza
 
Vb.Net
Vb.NetVb.Net
Vb.Net
 
Drupal dashboard for dummies with d3
Drupal dashboard for dummies with d3Drupal dashboard for dummies with d3
Drupal dashboard for dummies with d3
 
Mvc e di spring e angular js
Mvc e di   spring e angular jsMvc e di   spring e angular js
Mvc e di spring e angular js
 
Usare Knockout JS
Usare Knockout JSUsare Knockout JS
Usare Knockout JS
 
Non solo Django: MVC orientato agli oggetti con Plone e Zope Toolkit
Non solo Django: MVC orientato agli oggetti con Plone e Zope ToolkitNon solo Django: MVC orientato agli oggetti con Plone e Zope Toolkit
Non solo Django: MVC orientato agli oggetti con Plone e Zope Toolkit
 
Spring 2.5
Spring 2.5Spring 2.5
Spring 2.5
 
3DD 1e Reconfig
3DD 1e Reconfig3DD 1e Reconfig
3DD 1e Reconfig
 
E suap - tecnologie client
E suap - tecnologie client E suap - tecnologie client
E suap - tecnologie client
 
ASP.NET MVC: Full Throttle
ASP.NET MVC: Full ThrottleASP.NET MVC: Full Throttle
ASP.NET MVC: Full Throttle
 
Asp.Net MVC 3 - Il Model View Controller secondo Microsoft
Asp.Net MVC 3 - Il Model View Controller secondo MicrosoftAsp.Net MVC 3 - Il Model View Controller secondo Microsoft
Asp.Net MVC 3 - Il Model View Controller secondo Microsoft
 

Windows phone App Lesson 1