How many ways you can Bind a ViewModel with XAML?

Technology CommunityCategory: XamarinHow many ways you can Bind a ViewModel with XAML?
VietMX Staff asked 3 years ago

We can bind a ViewModel directly into the XAML or we can bind it into XAML’s backend .cs file.

  • When we bind a ViewModel in XAML, it is said a View-First Construction in XAML.
  • When we bind a ViewModel in Code behind, it is said a View-First Construction in Code behind.