Share via


ScreenReaderService.ScreenReaderPositionChanged Event

Definition

Occurs when the location of the screen reader focus indicator (such as the Narrator focus highlight box) changes.

// 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) 

Event Type

Applies to