語言

ContentIsland 類別

定義

一個獨立的內容,擁有獨立的輸入、輸出、版面與無障礙性,並連接到母 ContentSite。

[WebHostHidden]
public ref class ContentIsland : ICompositionSupportsSystemBackdrop, IClosableNotifier, IClosable
[WebHostHidden]
public ref class ContentIsland : ICompositionSupportsSystemBackdrop, IContentIslandEndpointConnectionPrivate, 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 ContentIsland : ICompositionSupportsSystemBackdrop, 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 ContentIsland : ICompositionSupportsSystemBackdrop, IContentIslandEndpointConnectionPrivate, 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 ContentIsland : ICompositionSupportsSystemBackdrop, IClosableNotifier, System.IDisposable
[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 ContentIsland : ICompositionSupportsSystemBackdrop, IContentIslandEndpointConnectionPrivate, IClosableNotifier, System.IDisposable
Public Class ContentIsland
Implements IClosableNotifier, ICompositionSupportsSystemBackdrop, IDisposable
Public Class ContentIsland
Implements IClosableNotifier, ICompositionSupportsSystemBackdrop, IContentIslandEndpointConnectionPrivate, IDisposable
繼承
Object Platform::Object IInspectable ContentIsland
屬性
實作

備註

ContentIsland 支援基於 構圖的動畫、渲染效果及互動操作。

這些自成一格的內容可以組成一個「場景」。 從概念上來說,它們等同於 子視窗 ,因為它們允許場景被細分。

屬性

名稱 Description
ActualSize

取得 ContentIsland 的邏輯大小,根據 ContentSite 決定。

AppData

為這個 ContentIsland 取得或設置一個儲存容器。

AutomationOption

獲得這個 ContentIsland 的自動化主機合約選項。

Children

會獲得一個無序的 ChildSiteLink 物件列舉,這些物件是 ContentIsland 的父級。

ConnectionInfo

一個獨立的內容,擁有獨立的輸入、輸出、版面與無障礙性,並連接到母 ContentSite。

CoordinateConverter

取得這個 ContentIsland 的 ContentCoordinateConverter。

CustomProperties

取得 ContentIsland 的自訂屬性集合。

DispatcherQueue

取得與此 ContentIsland 相關聯的 DispatcherQueue。

Environment

取得與此 ContentIsland 相關聯的 ContentIslandEnvironment。

FragmentRootAutomationProvider

取得片段根自動化提供者。

Id

取得此 ContentIsland 的唯一識別碼。

IsClosed

知道這個 ContentIsland 是否關閉。

IsConnected

判斷這個 ContentIsland 是否與 ContentSite 連結。

IsHitTestVisibleWhenTransparent

當不顯示任何內容時,這個 ContentIsland 是否支援視覺碰撞測試。

IsIslandEnabled

取得或設定此 ContentIsland 是否能接收輸入。

IsIslandVisible

決定或設定此 ContentIsland 是否由其關聯 的 ContentSite 顯示。

IsRemoteEndpointConnected

一個獨立的內容,擁有獨立的輸入、輸出、版面與無障礙性,並連接到母 ContentSite。

IsSiteEnabled

判斷 ContentSite 是否能接收到意見。

IsSiteVisible

判斷相關的 ContentSite 是否可見。

LayoutDirection

取得 ContentSite 中閱讀順序與文字對齊的版面指示。

LocalToClientTransformMatrix

從根 Visual 節點取得 Hardware Heartnd 的 Convert 矩陣到用戶端區域。

LocalToParentTransformMatrix

取得從根Visual到根Visual的轉換矩陣,若存在的話。

NextSiblingAutomationProvider

接手下一個兄弟姊妹自動化供應商。

ParentAutomationProvider

接到母自動化供應商。

Popups

取得 DesktopPopupSiteBridge 物件的無序枚舉,這些物件是 ContentIsland 的父級。

PreviousSiblingAutomationProvider

接到之前的姊妹自動化供應商。

ProcessesKeyboardInput

會得到一個值,表示相關的 ContentSite 是否正在處理鍵盤輸入。

ProcessesPointerInput

會得到一個值,表示相關的 ContentSite 是否正在處理指標輸入。

RasterizationScale

取得 Microsoft 的局部點數(dpi)。UI。Composition.ICompositionSurface。

Root

一個獨立的內容,擁有獨立的輸入、輸出、版面與無障礙性,並連接到母 ContentSite。

SystemBackdrop

取得或設定系統背景以適用於這個 ContentIsland。

方法

名稱 Description
Close()

關閉 了 ContentIsland。

ConnectRemoteEndpoint(String)

一個獨立的內容,擁有獨立的輸入、輸出、版面與無障礙性,並連接到母 ContentSite。

Create(Visual)

建立一個新的 ContentIsland ,處於斷開且空白的狀態。

CreateForSystemVisual(DispatcherQueue, Visual)

為系統(Windows建立一個全新的 ContentIsland 實例,處於斷線且空的狀態。UI。組成)Visual。

Dispose()

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

FindAllForCompositor(Compositor)

擷取所有與指定 Microsoft 相關的 ContentIsland 物件。UI。Composition.Compositor。

FindAllForCurrentThread()

擷取目前執行緒所擁有的所有 ContentIsland 物件。

FindAllForSystemCompositor(Compositor)

擷取與指定系統(Windows 相關的所有 ContentIsland物件。UI。作曲)Compositor。

GetAutomationHostProvider()

取得與 ContentIsland 關聯的主機自動化供應商。

GetBySystemVisual(Visual)

取得指定系統(Windows)的 ContentIsland物件。UI。組成)Visual 是根系Visual或根系Visual的後代。

GetByVisual(Visual)

擷取包含當前執行緒中指定子 Visual 物件的 ContentIsland。

GetFromId(UInt64)

取得指定識別碼的 ContentIsland 。

GetStateChangeDeferral()

擷取一個 ContentDeferral 物件,該物件允許在延遲完成前,對個別屬性進行非同步更新,且不會觸發 StateChanged 事件。

RequestSize(Vector2)

從 ContentSite 取得 ContentIsland 的新尺寸。

事件

名稱 Description
AutomationProviderRequested

當此 ContentIsland 需要自動化服務提供者時,會發生。

Closed

當 ContentIsland 關閉時會發生。

Connected

一個獨立的內容,擁有獨立的輸入、輸出、版面與無障礙性,並連接到母 ContentSite。

Disconnected

一個獨立的內容,擁有獨立的輸入、輸出、版面與無障礙性,並連接到母 ContentSite。

FrameworkClosed

當框架關閉時會發生。

StateChanged

當本 ContentIsland 的州有財產變更時,會發生這種情況。

適用於