Browse Source

Merge pull request #7783 from n-ski/routedviewhost-copypasta-fix

RoutedViewHost: Fix property registration
pull/7787/head
Jumar Macato 4 years ago
committed by GitHub
parent
commit
6f947bbb7a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.ReactiveUI/RoutedViewHost.cs

2
src/Avalonia.ReactiveUI/RoutedViewHost.cs

@ -62,7 +62,7 @@ namespace Avalonia.ReactiveUI
/// <see cref="AvaloniaProperty"/> for the <see cref="ViewContract"/> property.
/// </summary>
public static readonly StyledProperty<string?> ViewContractProperty =
AvaloniaProperty.Register<ViewModelViewHost, string?>(nameof(ViewContract));
AvaloniaProperty.Register<RoutedViewHost, string?>(nameof(ViewContract));
/// <summary>
/// Initializes a new instance of the <see cref="RoutedViewHost"/> class.

Loading…
Cancel
Save