public LocationControlTextTab()
 {
     InitializeComponent();
     _context = new LocationTextControlContext(_list, _edit, _preview);
     _watcher = new LocationTextWatcher(_context);
     _panel.LocationContext = _context;
     DataContextChanged    += OnDataContextChanged;
 }
Example #2
0
 public LocationTextWatcher(LocationTextControlContext context)
 {
     _context = Exceptions.CheckArgumentNull(context, "context");
     BeginWatching();
 }