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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.