ContentSite クラス

定義

ContentIsland のホスト環境を提供します。

[WebHostHidden]
public ref class ContentSite : IClosableNotifier, IClosable
/// [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 ContentSite : IClosableNotifier, IClosable
[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 ContentSite : IClosableNotifier, System.IDisposable
Public Class ContentSite
Implements IClosableNotifier, IDisposable
継承
Object Platform::Object IInspectable ContentSite
属性
実装

注釈

ContentSiteDesktopSiteBridge から派生し、関連する ContentIsland を構成するための API を提供します。

ContentSite オブジェクトと ContentIsland オブジェクトの間には、常に 1 対 1 のマッピングがあります。

プロパティ

名前 説明
ActualSize

ContentSite の論理サイズを取得します。

ClientSize

親 Win32 HWND クライアント サイズを取得します。

CoordinateConverter

ローカル座標空間とシステム画面座標の間で変換する ContentCoordinateConverter を取得します。

DispatcherQueue

この ContentSite に関連付けられている DispatcherQueue を取得します。

Environment

この ContentSite の ContentSiteEnvironment オブジェクトを取得 します

IsClosed

この ContentSite が閉じているかどうかを取得します。

IsConnected

この ContentSiteContentIsland に接続されているかどうかを取得します。

IsSiteEnabled

この ContentSite が有効かどうかを取得または設定します。

IsSiteVisible

この ContentSite が表示されるかどうかを取得または設定します。

LayoutDirection

この ContentSite の読み取り順序とテキスト配置のレイアウト方向を取得または設定します。

LocalToClientTransformMatrix

ルート Visual からホスト HWND のクライアント領域への変換マトリックスを取得します。

LocalToParentTransformMatrix

ルート Visual から親 ContentSite のルート Visual への変換マトリックスを取得します (存在する場合)。

OverrideScale

ParentScale をオーバーライドするこの ContentSite に使用するスケール ファクターを取得または設定します。

ParentScale

この ContentSite の親 Win32 HWND の既定のスケール ファクターを取得または設定します。

ProcessesKeyboardInput

ContentSite オブジェクトがキーボード入力を処理するかどうかを取得または設定します。

ProcessesPointerInput

ContentSite オブジェクトがポインター入力を処理するかどうかを取得または設定します。

RasterizationScale

この ContentSite の計算されたローカル DPI を取得します。

RequestedSize

関連付けられている ContentIsland から論理要求されたサイズを取得します。

ShouldApplyRasterizationScale

ContentSite で計算された RasterizationScale を適用するかどうかを取得または設定します。

View

この ContentSite に関連付けられている ContentSiteViewを取得します

メソッド

名前 説明
Close()

この ContentSite を閉じます。

Dispose()

アンマネージド リソースの解放、解放、またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

GetIslandStateChangeDeferral()

この ContentSite の新しい ContentDeferral を取得します。

TryGetAutomationProvider(Object)

ContentIsland のホスト環境を提供します。

イベント

名前 説明
Closed

この ContentSite が閉じられたときに発生します。

FrameworkClosed

フレームワークが閉じるときに発生します。

RequestedStateChanged

ContentIsland が、関連付けられている ContentSite に対して新しい要求を行ったときに発生します。

適用対象