ContentSiteEnvironment クラス

定義

ContentSite 環境に関する情報を、関連する ContentIsland に提供します。

[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
継承
Object Platform::Object IInspectable ContentSiteEnvironment
属性

注釈

ContentIslandEnvironment は、ContentSiteEnvironment で指定された設定によって構成されます。

ContentSite には、 ContentIslandEnvironment 設定を管理する ContentSiteEnvironment があります。 IContentSiteBridge 実装は、ContentSiteEnvironment から ContentIslandEnvironment に情報を伝達するタイミングを決定する役割を担います。 これにより、 IContentSiteBridge、ContentIsland に対する環境の表現方法をポリシーで決定できます。

プロパティ

名前 説明
AppWindowId

最上位レベルの Win32 HWND の ID を取得または設定します。

CurrentOrientation

ContentSite 環境に関する情報を、関連する ContentIsland に提供します。

DisplayId

"メトリック機関" モニター ID を取得または設定します。

DisplayScale

ContentSite 環境に関する情報を、関連する ContentIsland に提供します。

NativeOrientation

ContentSite 環境に関する情報を、関連する ContentIsland に提供します。

View

ContentSiteEnvironment に関連付けられている ContentSiteEnvironmentView を取得します。

メソッド

名前 説明
NotifySettingChanged(String)

SettingChanged イベントを発生させるよう ContentIslandEnvironment に指示します。

NotifyThemeChanged()

ContentSite 環境に関する情報を、関連する ContentIsland に提供します。

適用対象