22 lines
543 B
C#
22 lines
543 B
C#
using System.Windows;
|
|
using Filtration.ViewModels;
|
|
|
|
namespace Filtration.Views
|
|
{
|
|
public partial class UpdateTabView
|
|
{
|
|
public UpdateTabView()
|
|
{
|
|
InitializeComponent();
|
|
|
|
DataContextChanged += OnDataContextChanged;
|
|
}
|
|
|
|
private void OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
|
|
{
|
|
var updateViewModel = (UpdateViewModel)DataContext;
|
|
ReleaseNotesWebBrowser.NavigateToString(updateViewModel.ReleaseNotes);
|
|
}
|
|
}
|
|
}
|