ScreenReaderService 类

定义

提供与屏幕阅读器设备关联的属性和事件。

public ref class ScreenReaderService sealed
/// [Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ScreenReaderService final
[Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ScreenReaderService
function ScreenReaderService()
Public NotInheritable Class ScreenReaderService
继承
Object Platform::Object IInspectable ScreenReaderService
属性

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

构造函数

ScreenReaderService()

初始化 ScreenReaderService 类的新实例。

属性

CurrentScreenReaderPosition

获取对应于屏幕阅读器焦点指示器当前位置的矩形 ((如) 讲述人焦点突出显示框)以及屏幕阅读器是否处于连续阅读模式。

事件

ScreenReaderPositionChanged

当屏幕阅读器焦点指示器的位置 ((如“讲述人焦点突出显示”框)) 更改时发生。

适用于