In the code behind of a Xaml page, which is the correct order?
InitializeComponent();
BindingContext = ThePageViewModel;
or
BindingContext = ThePageViewModel;
InitializeComponent();
In the code behind of a Xaml page, which is the correct order?
InitializeComponent();
BindingContext = ThePageViewModel;
or
BindingContext = ThePageViewModel;
InitializeComponent();