ScreenReaderService.ScreenReaderPositionChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)