MVVM e Caliburn Micro for Windows Phone applications
Upcoming SlideShare
Loading in...5
×
 

MVVM e Caliburn Micro for Windows Phone applications

on

  • 266 views

The MVVM pattern applied to a Windows Phone application and how to implement it using the Caliburn Micro framework

The MVVM pattern applied to a Windows Phone application and how to implement it using the Caliburn Micro framework

Statistics

Views

Total Views
266
Views on SlideShare
266
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

MVVM e Caliburn Micro for Windows Phone applications MVVM e Caliburn Micro for Windows Phone applications Presentation Transcript

  • Code private string name; public string Name { get { return name; } set { name = value; NotifyOfPropertyChange(() => Name); } } XAML <TextBlock Text="{Binding Path=Name}" />
  • Code private ICommand _pinToStart; public ICommand PinToStart { get { return _pinToStart ?? (_pinToStart = new RelayCommand( () => taskService.PinToStart(CurrentItem), () => canPin)); } } XAML <Button Content="Pin to start" Command="{Binding Path=PinToStart}" />
  • http://mvvmlight.codeplex.com/
  • http://caliburnmicro.codeplex.com
  • navigationService.UriFor<DetailPageViewModel>() .WithParam(x => x.SelectedId, 5) .Navigate();
  • <Button micro:Message.Attach="[Event DoubleTap] = [Action ShowMessage]" />
  • http://s.qmatteoq.com/CaliburnTutorial http://s.qmatteoq.com/CaliburnTutorialIT http://caliburnmicro.codeplex.com