mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-14 21:33:29 +00:00
20 lines
475 B
C#
20 lines
475 B
C#
using System.Windows.Controls;
|
|
using MPF.UI.Core.ViewModels;
|
|
|
|
namespace MPF.UI.Core.UserControls
|
|
{
|
|
public partial class LogOutput : UserControl
|
|
{
|
|
/// <summary>
|
|
/// Read-only access to the current log view model
|
|
/// </summary>
|
|
public LogViewModel LogViewModel => DataContext as LogViewModel;
|
|
|
|
public LogOutput()
|
|
{
|
|
InitializeComponent();
|
|
DataContext = new LogViewModel(this);
|
|
}
|
|
}
|
|
}
|