ElementHost.HostContainer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the parent container of the hosted Windows Presentation Foundation (WPF) element.
public:
property System::Windows::Controls::Panel ^ HostContainer { System::Windows::Controls::Panel ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Controls.Panel HostContainer { get; }
[<System.ComponentModel.Browsable(false)>]
member this.HostContainer : System.Windows.Controls.Panel
Public ReadOnly Property HostContainer As Panel
Property Value
The parent container.
- Attributes
Remarks
The host container is the WPF FrameworkElement, which is the parent container for the hosted element. The host container is always at the root of the WPF element hierarchy. To access the parent of the hosted element, access HostContainer directly.
Applies to
See also
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.