Поделиться через


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) 

Тип события

Применяется к