mirror of https://github.com/AMT-Cheif/Stylet.git
26 lines
532 B
C#
26 lines
532 B
C#
using System;
|
|
|
|
namespace Stylet.Samples.DesignMode
|
|
{
|
|
public class UsingViewModelLocatorViewModel : Screen
|
|
{
|
|
private readonly IEventAggregator eventAggregator;
|
|
|
|
public string TextBoxText { get; set; }
|
|
|
|
public UsingViewModelLocatorViewModel(IEventAggregator eventAggregator)
|
|
{
|
|
this.eventAggregator = eventAggregator;
|
|
}
|
|
|
|
public bool CanDoSomething
|
|
{
|
|
get { return false; }
|
|
}
|
|
|
|
public void DoSomething()
|
|
{
|
|
}
|
|
}
|
|
}
|