ContentSiteEnvironment Classe

Definizione

Fornisce informazioni sull'ambiente ContentSite a un ContentIsland associato.

[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
Ereditarietà
Object Platform::Object IInspectable ContentSiteEnvironment
Attributi

Commenti

ContentIslandEnvironment viene configurato dalle impostazioni specificate in contentSiteEnvironment.

Ogni ContentSite ha un ContentSiteEnvironment che gestisce le impostazioni contentIslandEnvironment . Un'implementazione di IContentSiteBridge è responsabile della scelta della propagazione delle informazioni da ContentSiteEnvironment a ContentIslandEnvironment. Ciò consente a IContentSiteBridge di determinare il modo in cui l'ambiente è rappresentato nel ContentIsland.

Proprietà

Nome Descrizione
AppWindowId

Ottiene o imposta l'ID dell'HWND win32 di primo livello.

CurrentOrientation

Fornisce informazioni sull'ambiente ContentSite a un ContentIsland associato.

DisplayId

Ottiene o imposta l'ID di monitoraggio "autorità metriche".

DisplayScale

Fornisce informazioni sull'ambiente ContentSite a un ContentIsland associato.

NativeOrientation

Fornisce informazioni sull'ambiente ContentSite a un ContentIsland associato.

View

Ottiene contentSiteEnvironmentView associato a ContentSiteEnvironment.

Metodi

Nome Descrizione
NotifySettingChanged(String)

Indica a ContentIslandEnvironment di generare un evento SettingChanged .

NotifyThemeChanged()

Fornisce informazioni sull'ambiente ContentSite a un ContentIsland associato.

Si applica a