From 291e1dcc37146a0254c0e1c30f834f6a0c1fd008 Mon Sep 17 00:00:00 2001 From: Nick Randolph Date: Tue, 4 Jul 2023 15:37:12 +1000 Subject: [PATCH] docs: Tweak --- doc/Overview/Mvux/Overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Overview/Mvux/Overview.md b/doc/Overview/Mvux/Overview.md index 3fbb132723..8a42714ee0 100644 --- a/doc/Overview/Mvux/Overview.md +++ b/doc/Overview/Mvux/Overview.md @@ -35,7 +35,7 @@ public partial class MainViewModel : ObservableObject } } ``` -The `ObservableObject` comes from the [`CommunityToolkit.Mvvm`](https://www.nuget.org/packages/CommunityToolkit.Mvvm) package and provides an implementation of the [`INotifyPropertyChanged`](https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.data.inotifypropertychanged) interface, which is used to notify the UI when property values change. The `ObservableProperty` attribute (also from the `CommunityToolkit.Mvvm` package) is used to instruct the source code generator to emit properties that include raising the PropertyChanged event when the value changes. In this case the `CurrentWeather` property is generated and will raise the PropertyChanged event when the value is set in the `LoadWeather` method. +The `ObservableObject` comes from the [`CommunityToolkit.Mvvm`](https://www.nuget.org/packages/CommunityToolkit.Mvvm) package and provides an implementation of the [`INotifyPropertyChanged`](https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.data.inotifypropertychanged) interface, which is used to notify the UI when property values change. The `ObservableProperty` attribute (also from the `CommunityToolkit.Mvvm` package) is used to instruct the source code generator to emit properties that include raising the `PropertyChanged` event when the value changes. In this case the `CurrentWeather` property is generated and will raise the `PropertyChanged` event when the value is set in the `LoadWeather` method. # [MainPage](#tab/page)