mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
19 lines
477 B
C#
19 lines
477 B
C#
using System.Reactive.Disposables;
|
|
using Avalonia.ReactiveUI;
|
|
using ReactiveUI;
|
|
|
|
namespace Wabbajack.App.Controls;
|
|
|
|
public partial class GameSelectorItemView : ReactiveUserControl<GameSelectorItemViewModel>
|
|
{
|
|
public GameSelectorItemView()
|
|
{
|
|
InitializeComponent();
|
|
|
|
this.WhenActivated(disposables =>
|
|
{
|
|
this.OneWayBind(ViewModel, vm => vm.Name, view => view.GameName.Text)
|
|
.DisposeWith(disposables);
|
|
});
|
|
}
|
|
} |