IContentHost.HostedElements 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个枚举,该枚举包含所有后代ContentElement派生类,以及作为其子代类之一的直接后代IContentHostContentElement的所有UIElement派生类。
public:
property System::Collections::Generic::IEnumerator<System::Windows::IInputElement ^> ^ HostedElements { System::Collections::Generic::IEnumerator<System::Windows::IInputElement ^> ^ get(); };
public System.Collections.Generic.IEnumerator<System.Windows.IInputElement> HostedElements { get; }
member this.HostedElements : System.Collections.Generic.IEnumerator<System.Windows.IInputElement>
Public ReadOnly Property HostedElements As IEnumerator(Of IInputElement)
属性值
包含所有后代ContentElement派生类的枚举,以及作为其子ContentElement代类之一的直接后代IContentHost的所有UIElement派生类。 换句话说,为其创建可视表示形式(ContentElement派生类)或其布局由IContentHost(第一级后代UIElement派生类)驱动的元素IContentHost。