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.