共用方式為


ScreenReaderService.ScreenReaderPositionChanged 事件

定義

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

// Register
event_token ScreenReaderPositionChanged(TypedEventHandler<ScreenReaderService, ScreenReaderPositionChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void ScreenReaderPositionChanged(event_token const* cookie) const;

// Revoke with event_revoker
ScreenReaderService::ScreenReaderPositionChanged_revoker ScreenReaderPositionChanged(auto_revoke_t, TypedEventHandler<ScreenReaderService, ScreenReaderPositionChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ScreenReaderService,ScreenReaderPositionChangedEventArgs> ScreenReaderPositionChanged;
function onScreenReaderPositionChanged(eventArgs) { /* Your code */ }
screenReaderService.addEventListener("screenreaderpositionchanged", onScreenReaderPositionChanged);
screenReaderService.removeEventListener("screenreaderpositionchanged", onScreenReaderPositionChanged);
- or -
screenReaderService.onscreenreaderpositionchanged = onScreenReaderPositionChanged;
Public Custom Event ScreenReaderPositionChanged As TypedEventHandler(Of ScreenReaderService, ScreenReaderPositionChangedEventArgs) 

事件類型

適用於