IMonitorSelectionService::CurrentSelectionContainer Property
Visual Studio 2015
Gets the active selection container.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Command handlers that are derived from the current selection should use this property instead of the CurrentWindow property because the selection container might not be the focused window.
Show: