From a6ebfefe7fbbce2941f1a9d2db4c1d5721903936 Mon Sep 17 00:00:00 2001 From: artyom Date: Thu, 22 Oct 2020 15:23:39 +0300 Subject: [PATCH] Document the new behavior --- src/Avalonia.ReactiveUI/ReactiveUserControl.cs | 5 +++-- src/Avalonia.ReactiveUI/ReactiveWindow.cs | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Avalonia.ReactiveUI/ReactiveUserControl.cs b/src/Avalonia.ReactiveUI/ReactiveUserControl.cs index 24aba6b650..a401d62a06 100644 --- a/src/Avalonia.ReactiveUI/ReactiveUserControl.cs +++ b/src/Avalonia.ReactiveUI/ReactiveUserControl.cs @@ -7,8 +7,9 @@ using ReactiveUI; namespace Avalonia.ReactiveUI { /// - /// A ReactiveUI UserControl that implements - /// and will activate your ViewModel automatically if it supports activation. + /// A ReactiveUI UserControl that implements and will activate your ViewModel + /// automatically if it supports activation. When the DataContext property changes, this class will update the + /// ViewModel property with the new DataContext value, and vice versa. /// /// ViewModel type. public class ReactiveUserControl : UserControl, IViewFor where TViewModel : class diff --git a/src/Avalonia.ReactiveUI/ReactiveWindow.cs b/src/Avalonia.ReactiveUI/ReactiveWindow.cs index a412f8e383..896795f42d 100644 --- a/src/Avalonia.ReactiveUI/ReactiveWindow.cs +++ b/src/Avalonia.ReactiveUI/ReactiveWindow.cs @@ -7,8 +7,9 @@ using ReactiveUI; namespace Avalonia.ReactiveUI { /// - /// A ReactiveUI Window that implements - /// and will activate your ViewModel automatically if it supports activation. + /// A ReactiveUI Window that implements and will activate your ViewModel + /// automatically if it supports activation. When the DataContext property changes, this class will update the + /// ViewModel property with the new DataContext value, and vice versa. /// /// ViewModel type. public class ReactiveWindow : Window, IViewFor where TViewModel : class