IContentHost.HostedElements 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得列舉型別 (Enumeration),其中包含所有的子代 ContentElement 衍生類別,以及 UIElement 直接子代或其中一個子代 IContentHost 類別的所有 ContentElement 衍生類別。
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 衍生類別,以及 UIElement 直接子代或其中一個子代 IContentHost 類別之所有 ContentElement 衍生類別的列舉型別。 換句話說,也就是 IContentHost 會為其建立視覺表示 (ContentElement 衍生類別) 或其配置是由 IContentHost 驅動的項目 (第一層的子代 UIElement 衍生類別)。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應