1
using System
.Windows
.Controls
; // UserControl
3 using HostViews
; // PersonView
7 public partial class HostUI
: UserControl
9 public HostUI(Person person
)
11 InitializeComponent();
13 // Bind to person object that was provided by the host
14 this.DataContext
= person
;