HostedWpfControl.TopLevelWindow 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.
Caution
Use the TopLevelWpfWindow property
Gets the top level window of this hosted app.
public:
virtual property System::Windows::Forms::Control ^ TopLevelWindow { System::Windows::Forms::Control ^ get(); };
[System.Obsolete("Use the TopLevelWpfWindow property")]
public virtual System.Windows.Forms.Control TopLevelWindow { get; }
[<System.Obsolete("Use the TopLevelWpfWindow property")>]
member this.TopLevelWindow : System.Windows.Forms.Control
Public Overridable ReadOnly Property TopLevelWindow As Control
Property Value
Returns Control.
Implements
- Attributes
Remarks
If this is an external application, then null is returned.