Skip to content

Commit 1535c27

Browse files
Update src/ReactiveUI/Platforms/windows-common/ViewModelViewHost.cs
Co-Authored-By: glennawatson <[email protected]>
1 parent 062c7c7 commit 1535c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactiveUI/Platforms/windows-common/ViewModelViewHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class ViewModelViewHost : TransitioningContentControl, IViewFor, IEnableL
3737
/// The view model dependency property.
3838
/// </summary>
3939
public static readonly DependencyProperty ViewModelProperty =
40-
DependencyProperty.Register("ViewModel", typeof(object), typeof(ViewModelViewHost), new PropertyMetadata(null, SomethingChanged));
40+
DependencyProperty.Register(nameof(ViewModel), typeof(object), typeof(ViewModelViewHost), new PropertyMetadata(null, SomethingChanged));
4141

4242
/// <summary>
4343
/// The view contract observable dependency property.

0 commit comments

Comments
 (0)