ContentIsland 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個獨立的內容,擁有獨立的輸入、輸出、版面與無障礙性,並連接到母 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
- 繼承
- 屬性
- 實作
備註
ContentIsland 支援基於 構圖的動畫、渲染效果及互動操作。
這些自成一格的內容可以組成一個「場景」。 從概念上來說,它們等同於 子視窗 ,因為它們允許場景被細分。
屬性
方法
| 名稱 | Description |
|---|---|
| Close() |
關閉 了 ContentIsland。 |
| ConnectRemoteEndpoint(String) |
一個獨立的內容,擁有獨立的輸入、輸出、版面與無障礙性,並連接到母 ContentSite。 |
| Create(Visual) |
建立一個新的 ContentIsland ,處於斷開且空白的狀態。 |
| CreateForSystemVisual(DispatcherQueue, Visual) |
為系統(Windows建立一個全新的 ContentIsland 實例,處於斷線且空的狀態。UI。組成) |
| Dispose() |
執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。 |
| FindAllForCompositor(Compositor) |
擷取所有與指定 Microsoft 相關的 ContentIsland 物件。UI。Composition.Compositor。 |
| FindAllForCurrentThread() |
擷取目前執行緒所擁有的所有 ContentIsland 物件。 |
| FindAllForSystemCompositor(Compositor) |
擷取與指定系統(Windows 相關的所有 ContentIsland物件。UI。作曲) |
| GetAutomationHostProvider() |
取得與 ContentIsland 關聯的主機自動化供應商。 |
| GetBySystemVisual(Visual) |
取得指定系統(Windows)的 ContentIsland物件。UI。組成) |
| 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 的州有財產變更時,會發生這種情況。 |