语言

ContentSiteView 类

定义

提供对 ContentSite 属性的只读视图的访问权限。

[WebHostHidden]
public ref class ContentSiteView
/// [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 ContentSiteView
[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 ContentSiteView
Public Class ContentSiteView
继承
Object Platform::Object IInspectable ContentSiteView
属性

注解

此对象公开 ContentSite 的最新值,它不是及时的快照。

属性

名称 说明
ActualSize

获取关联的 ContentIsland 的逻辑大小。

AutomationOption

提供对 ContentSite 属性的只读视图的访问权限。

ClientSize

获取父 Win32 HWND 客户端大小。

CoordinateConverter

获取用于在此 ContentSiteView 的本地坐标空间和屏幕坐标之间执行转换的 ContentCoordinateConverter 对象。

DispatcherQueue

获取此 ContentSiteView 的 DispatcherQueue。

EnvironmentView

获取Microsoft。Ui。此 ContentSiteView 的 Content.ContentSiteEnvironmentView。

IsConnected

获取 ContentSite 报告的 IsConnected 状态。

IsSiteEnabled

获取 ContentSite 报告的 IsSiteEnabled 状态。

IsSiteVisible

获取 ContentSite 报告的 IsSiteVisible 状态。

LayoutDirection

获取 LayoutDirection (LeftToRight 或 RightToLeft),以便读取 ContentSite 报告的顺序和文本对齐方式。

LocalToClientTransformMatrix

提供对 ContentSite 属性的只读视图的访问权限。

LocalToParentTransformMatrix

获取从根视觉对象到父 ContentSiteView 的根视觉对象的转换矩阵(如果存在)。

OverrideScale

获取单个 ContentSite 的替代缩放因子,忽略父 Win32 HWND 的默认缩放因子。

ParentScale

获取单个 ContentSite 父 Win32 HWND 的默认缩放因子。

ProcessesKeyboardInput

提供对 ContentSite 属性的只读视图的访问权限。

ProcessesPointerInput

提供对 ContentSite 属性的只读视图的访问权限。

RasterizationScale

获取从 OverrideScale 和 ParentScale 计算的关联 ContentSite 的计算本地 DPI。

有关详细信息,请参阅 ContentIsland.RasterizationScale。

RequestedSize

获取逻辑 RequestedSize。

ShouldApplyRasterizationScale

获取 ContentSite 是否将计算 光栅化Scale 作为光学刻度应用。

适用于