Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Data-Binding
Search
Stuart Lodge
May 14, 2013
Technology
1
300
Data-Binding
Stuart Lodge
May 14, 2013
Tweet
Share
More Decks by Stuart Lodge
See All by Stuart Lodge
Future Decoded - VisualStudio and Xamarin talk
cirrious
0
200
Data Bind Everything
cirrious
0
4.9k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
170
MobDevCon MvvmCross Workshop
cirrious
0
3.3k
Static Version of MvvmCross Evolve talk
cirrious
0
120
Jago?
cirrious
0
150
Presenters in MvvmCross
cirrious
1
32k
Saying SOLID with PCL
cirrious
0
3.4k
Using SQLite.Net In MvvmCross
cirrious
0
1.1k
Other Decks in Technology
See All in Technology
Goで実践するBFP
hiroyaterui
1
110
2025年の挑戦 コーポレートエンジニアの技術広報/techpr5
nishiuma
0
130
東京Ruby会議12 Ruby と Rust と私 / Tokyo RubyKaigi 12 Ruby, Rust and me
eagletmt
3
810
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
750
.NET 最新アップデート ~ AI とクラウド時代のアプリモダナイゼーション
chack411
0
190
ゼロからわかる!!AWSの構成図を書いてみようワークショップ 問題&解答解説 #デッカイギ #羽田デッカイギおつ
_mossann_t
0
1.5k
CDKのコードレビューを楽にするパッケージcdk-mentorを作ってみた/cdk-mentor
tomoki10
0
180
Alignment and Autonomy in Cybozu - 300人の開発組織でアラインメントと自律性を両立させるアジャイルな組織運営 / RSGT2025
ama_ch
1
2.3k
AWS re:Invent 2024 recap in 20min / JAWSUG 千葉 2025.1.14
shimy
1
100
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
430
なぜfreeeはハブ・アンド・スポーク型の データメッシュアーキテクチャにチャレンジするのか?
shinichiro_joya
2
110
エンジニアリングマネージャー視点での、自律的なスケーリングを実現するFASTという選択肢 / RSGT2025
yoshikiiida
4
3.5k
Featured
See All Featured
Bash Introduction
62gerente
610
210k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
BBQ
matthewcrist
85
9.4k
We Have a Design System, Now What?
morganepeng
51
7.3k
Visualization
eitanlees
146
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Optimizing for Happiness
mojombo
376
70k
Designing for humans not robots
tammielis
250
25k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
113
50k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
173
50k
The Cult of Friendly URLs
andyhume
78
6.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Transcript
Data Binding
INotifyPropertyChanged
Typical ViewModel Property
One Way Binding PersonViewModel FirstName LastName DateOfBirth First Name Jon
Last Name Doe Date of birth 12/07/1989
UI Syntax
Two Way Binding PersonViewModel FirstName LastName DateOfBirth First Name Jon
Last Name Doe Date of birth 12/07/1989
UI Syntax
Value Conversion PersonViewModel FirstName LastName DateOfBirth First Name Jon Last
Name Doe Age 24 “Age” Conversion
IMvxValueConverter
AgeValueConverter
UI Syntax
UI Syntax
Binding Actions PersonViewModel FirstName LastName DateOfBirth First Name Jon Last
Name Doe Date of birth 12/07/1989 AddCommand
ICommand
Typical ViewModel Command
UI Syntax
Collections PeopleViewModel Hackers List<PersonViewModel> Greg Jon Daniel Cool Hackers Jon
@redth Greg @gshackles Daniel @dsplaisted Tomasz Tomasz @cheesebar
INotifyCollectionChanged
ObservableCollection
ViewModel Collection Property
UI Syntax
UI Syntax
UI Syntax
UI Syntax
Data-Binding to Sub-Objects • Works using normal . and []
chaining: • obeys INotifyPropertyChanged at every step
Samples DataBinding: https://github.com/slodge/MvvmCross-Tutorials/tree/master/TipCalc Collections: https://github.com/slodge/MvvmCross- Tutorials/tree/master/Working%20With%20Collections ValueConverters: https://github.com/slodge/MvvmCross- Tutorials/tree/master/ValueConversion