ContentSiteEnvironment Classe

Définition

Fournit des informations sur l’environnement ContentSite à un ContentIsland associé.

[WebHostHidden]
public ref class ContentSiteEnvironment
/// [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 ContentSiteEnvironment
[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 ContentSiteEnvironment
Public Class ContentSiteEnvironment
Héritage
Object Platform::Object IInspectable ContentSiteEnvironment
Attributs

Remarques

ContentIslandEnvironment est configuré par les paramètres spécifiés dans un ContentSiteEnvironment.

Chaque ContentSite a un ContentSiteEnvironment qui gère les paramètres ContentIslandEnvironment . Une implémentation IContentSiteBridge est chargée de décider quand propager des informations de ContentSiteEnvironment vers ContentIslandEnvironment. Cela permet à IContentSiteBridge de déterminer la façon dont l’environnement est représenté dans ContentIsland.

Propriétés

Nom Description
AppWindowId

Obtient ou définit l’ID du HWND Win32 de niveau supérieur.

CurrentOrientation

Fournit des informations sur l’environnement ContentSite à un ContentIsland associé.

DisplayId

Obtient ou définit l’ID de moniteur « métriques authority ».

DisplayScale

Fournit des informations sur l’environnement ContentSite à un ContentIsland associé.

NativeOrientation

Fournit des informations sur l’environnement ContentSite à un ContentIsland associé.

View

Obtient contentSiteEnvironmentView associé au ContentSiteEnvironment.

Méthodes

Nom Description
NotifySettingChanged(String)

Indique à un ContentIslandEnvironment de déclencher un événement SettingChanged .

NotifyThemeChanged()

Fournit des informations sur l’environnement ContentSite à un ContentIsland associé.

S’applique à