using System.Windows.Controls; using MPF.UI.Core.ViewModels; namespace MPF.UI.Core.UserControls { public partial class LogOutput : UserControl { /// /// Read-only access to the current log view model /// public LogViewModel LogViewModel => DataContext as LogViewModel; public LogOutput() { InitializeComponent(); DataContext = new LogViewModel(this); } } }