Condividi tramite


Window.CoreWindow Proprietà

Definizione

Le app desktop restituiscono null sempre per questa proprietà.

public:
 property CoreWindow ^ CoreWindow { CoreWindow ^ get(); };
CoreWindow CoreWindow();
/// [get: Windows.Foundation.Metadata.Deprecated("The CoreWindow property is deprecated and always returns null", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
CoreWindow CoreWindow();
public CoreWindow CoreWindow { get; }
public CoreWindow CoreWindow { [Windows.Foundation.Metadata.Deprecated("The CoreWindow property is deprecated and always returns null", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")] get; }
var coreWindow = window.coreWindow;
Public ReadOnly Property CoreWindow As CoreWindow

Valore della proprietà

Il valore è null per le app Desktop.

Attributi

Commenti

L'oggetto Window implementa IWindowNative, tramite cui le app Desktop possono ottenere l'HWND sottostante di Window.

Si applica a

Vedi anche