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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.