Partager via


HostedWpfControl.TopLevelWindow Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Note: This API is now obsolete.

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)

Syntax

[ObsoleteAttribute("Use the TopLevelWpfWindow property")]
public virtual Control TopLevelWindow { get; }
<ObsoleteAttribute("Use the TopLevelWpfWindow property")>
Public Overridable ReadOnly Property TopLevelWindow As Control

Property Value

Type: System.Windows.Forms.Control

Returns Control.

Implements

IHostedApplication.TopLevelWindow

Remarks

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

See Also

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

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright