ContentIslandEnvironment Klasse

Definition

Stellt allgemeine Umgebungsinformationen für ein ContentIsland bereit.

[WebHostHidden]
public ref class ContentIslandEnvironment
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class ContentIslandEnvironment
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ContentIslandEnvironment
Public Class ContentIslandEnvironment
Vererbung
Object Platform::Object IInspectable ContentIslandEnvironment
Attribute

Hinweise

Jedes ContentIsland-Objekt ist einem eindeutigen ContentIslandEnvironment-Objekt zugeordnet, das nicht zwischen mehreren ContentIsland-Objekten geteilt wird. Informationen, die in einer ContentIslandEnvironment enthalten sind, z. B. AppWindowId, können jedoch denselben Wert zwischen verschiedenen ContentIsland-Objekten im selben Fenster der obersten Ebene aufweisen.

Eigenschaften

Name Beschreibung
AppWindowId

Ruft die ID der Win32 HWND der obersten Ebene ab.

CurrentOrientation

Stellt allgemeine Umgebungsinformationen für ein ContentIsland bereit.

DisplayId

Ruft die Monitor-ID der Metrikautorität ab.

DisplayScale

Ruft den Skalierungsfaktor des Anwendungsfensters ab, das diesem ContentIsland zugeordnet ist.

NativeOrientation

Stellt allgemeine Umgebungsinformationen für ein ContentIsland bereit.

Ereignisse

Name Beschreibung
SettingChanged

Tritt auf, wenn die Einstellungen für diese Instanz geändert wurden.

StateChanged

Tritt auf, wenn Eigenschaften für diese Instanz geändert wurden. Zustandsänderungen treten sofort auf, und dieses Ereignis tritt anschließend asynchron auf.

ThemeChanged

Stellt allgemeine Umgebungsinformationen für ein ContentIsland bereit.

Gilt für: