ContentSiteEnvironment クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
- 継承
- 属性
注釈
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 に提供します。 |