共用方式為


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

發生于螢幕助讀程式焦點指標的位置 (,例如朗讀程式焦點醒目提示方塊) 變更時。

適用於