We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fed0f3 commit 27e24beCopy full SHA for 27e24be
IPConfig/ViewModels/NicConfigDetailViewModel.cs
@@ -242,6 +242,12 @@ private void GoBack()
242
Messenger.Send<GoBackMessage>(new(this));
243
}
244
245
+ [RelayCommand]
246
+ private void Loaded()
247
+ {
248
+ Nic = Messenger.Send<RequestMessage<Nic?>>().Response!;
249
+ }
250
+
251
#endregion Relay Commands
252
253
#region Partial OnPropertyChanged Methods
IPConfig/Views/NicConfigDetailView.xaml
@@ -100,6 +100,12 @@
100
</ResourceDictionary>
101
</UserControl.Resources>
102
103
+ <i:Interaction.Triggers>
104
+ <i:EventTrigger EventName="Loaded">
105
+ <i:InvokeCommandAction Command="{Binding LoadedCommand}" />
106
+ </i:EventTrigger>
107
+ </i:Interaction.Triggers>
108
109
<Grid>
110
<Grid.RowDefinitions>
111
<RowDefinition Height="Auto" />
0 commit comments