Share via


HostedWpfControl.TopLevelWindow Property

Gets the top level window of this hosted app.

Namespace: Microsoft.Uii.Csr.Aif.HostedApplication
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As HostedWpfControl
Dim value As Control

value = instance.TopLevelWindow

Syntax

'Declaration
<ObsoleteAttribute("Use the TopLevelWpfWindow property")> _
Public Overridable ReadOnly Property TopLevelWindow As Control
[ObsoleteAttribute("Use the TopLevelWpfWindow property")] 
public virtual Control TopLevelWindow { get; }
[ObsoleteAttribute(L"Use the TopLevelWpfWindow property")] 
public:
virtual property Control^ TopLevelWindow {
    Control^ get ();
}
/** @property */
public Control get_TopLevelWindow ()
public function get TopLevelWindow () : Control

Property Value

Returns Control.

Remarks

If this is an external application, then null is returned.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

HostedWpfControl Class
HostedWpfControl Members
Microsoft.Uii.Csr.Aif.HostedApplication Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.