IMonitorSelectionService.CurrentSelectionContainer 属性

定义

检索当前处于活动状态的选择容器。 请注意,这可能与当前处于活动状态的窗口不同,因为并不是所有的窗口都是选择容器。 从当前所选内容驱动的命令处理程序应使用此属性,而不是当前窗口。 这是因为选择容器可能不是已获得焦点的窗口。 在命令窗口的情况下,差别尤其重要。

public:
 property System::Object ^ CurrentSelectionContainer { System::Object ^ get(); };
public object CurrentSelectionContainer { get; }
member this.CurrentSelectionContainer : obj
Public ReadOnly Property CurrentSelectionContainer As Object

属性值

Object

适用于