ToolWindow.OnDocumentWindowChanged(ModelingDocView, ModelingDocView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Derived classes can override this to receive notification when the document window changes in the shell. The new view is stored in the CurrentView property.
protected:
virtual void OnDocumentWindowChanged(Microsoft::VisualStudio::Modeling::Shell::ModelingDocView ^ oldView, Microsoft::VisualStudio::Modeling::Shell::ModelingDocView ^ newView);
protected virtual void OnDocumentWindowChanged (Microsoft.VisualStudio.Modeling.Shell.ModelingDocView oldView, Microsoft.VisualStudio.Modeling.Shell.ModelingDocView newView);
abstract member OnDocumentWindowChanged : Microsoft.VisualStudio.Modeling.Shell.ModelingDocView * Microsoft.VisualStudio.Modeling.Shell.ModelingDocView -> unit
override this.OnDocumentWindowChanged : Microsoft.VisualStudio.Modeling.Shell.ModelingDocView * Microsoft.VisualStudio.Modeling.Shell.ModelingDocView -> unit
Protected Overridable Sub OnDocumentWindowChanged (oldView As ModelingDocView, newView As ModelingDocView)
Parameters
- oldView
- ModelingDocView
- newView
- ModelingDocView