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 支持基于 合成的动画、呈现效果和交互式操作。
这些自包含的内容可以组合成“场景”。 从概念上讲,它们等效于 子窗口 ,因为它们允许细分场景。
属性
方法
| 名称 | 说明 |
|---|---|
| Close() |
关闭 ContentIsland。 |
| ConnectRemoteEndpoint(String) |
具有独立输入、输出、布局和可访问性且连接到父 ContentSite 的自包含内容片段。 |
| Create(Visual) |
在断开连接和空状态下创建新的 ContentIsland 。 |
| CreateForSystemVisual(DispatcherQueue, Visual) |
为系统( |
| Dispose() |
执行与释放、释放或重置非托管资源关联的应用程序定义任务。 |
| FindAllForCompositor(Compositor) |
检索与指定 |
| FindAllForCurrentThread() |
检索当前线程拥有的所有 ContentIsland 对象。 |
| FindAllForSystemCompositor(Compositor) |
检索与指定系统关联的所有 ContentIsland 对象(Windows。Ui。合成) |
| GetAutomationHostProvider() |
获取与 ContentIsland 关联的主机自动化提供程序。 |
| GetBySystemVisual(Visual) |
检索指定系统(Windows)的 ContentIsland 对象。UI。Composition) |
| GetByVisual(Visual) |
检索包含当前线程上指定子视觉对象的 ContentIsland。 |
| GetFromId(UInt64) |
检索具有指定标识符的 ContentIsland 。 |
| GetStateChangeDeferral() |
检索一个 ContentDeferral 对象,该对象允许对各个属性进行异步更新,而无需引发 StateChanged 事件,直到延迟完成。 |
| RequestSize(Vector2) |
从 ContentSite 检索 ContentIsland 的新大小。 |
事件
| 名称 | 说明 |
|---|---|
| AutomationProviderRequested |
当请求此 ContentIsland 的自动化提供程序时发生。 |
| Closed |
关闭 ContentIsland 时发生。 |
| Connected |
具有独立输入、输出、布局和可访问性且连接到父 ContentSite 的自包含内容片段。 |
| Disconnected |
具有独立输入、输出、布局和可访问性且连接到父 ContentSite 的自包含内容片段。 |
| FrameworkClosed |
框架关闭时发生。 |
| StateChanged |
当此 ContentIsland 的状态属性发生更改时发生。 |