public void AttachView(object view, object context = null)
 {
     _view = (AdvancedSliderEditorView)view;
     ViewAttached?.Invoke(this, new ViewAttachedEventArgs()
     {
         View = view, Context = context
     });
 }
Beispiel #2
0
        public void AttachView(object view, object context = null)
        {
            _activeWindow = view as Window;

            ViewAttached?.Invoke(this, new ViewAttachedEventArgs
            {
                View = view
            });
        }
Beispiel #3
0
 /// <summary>
 /// Called when a view is attached.
 /// </summary>
 /// <param name="view">The view.</param>
 /// <param name="context">The context in which the view appears.</param>
 protected virtual void OnViewAttached(object view, object context)
 {
     ViewAttached?.Invoke(this, new ViewAttachedEventArgs(view, context));
 }