Επεξεργασία

Κοινή χρήση μέσω


IContentHost.HostedElements Property

Definition

Gets an enumeration containing all descendant ContentElement-derived classes, as well as all UIElement-derived classes that are a direct descendant of the IContentHost or one of its descendant ContentElement classes.

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)

Property Value

Enumeration containing all descendant ContentElement-derived classes, as well as all UIElement-derived classes that are a direct descendant of the IContentHost or one of its descendant ContentElement classes. In other words, elements for which the IContentHost creates a visual representation (ContentElement-derived classes) or whose layout is driven by the IContentHost (the first-level descendant UIElement-derived classes).

Applies to