Révision 03682d21 SICPA_Connexions/View/AnimalView.xaml.cs
SICPA_Connexions/View/AnimalView.xaml.cs | ||
---|---|---|
10 | 10 |
InitializeComponent(); |
11 | 11 |
this.BindingContext = new AnimalViewModel(); |
12 | 12 |
} |
13 |
|
|
14 |
protected override void OnAppearing() |
|
15 |
{ |
|
16 |
base.OnAppearing(); |
|
17 |
AnimalViewModel viewModel = this.BindingContext as AnimalViewModel; |
|
18 |
if (viewModel != null) |
|
19 |
{ |
|
20 |
viewModel.ActualisePage(); |
|
21 |
} |
|
22 |
} |
|
23 |
|
|
13 | 24 |
} |
14 | 25 |
} |
Formats disponibles : Unified diff