MediaElement.SeekCompleted 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当所请求的查找操作的查找点已准备好播放时发生。
// Register
event_token SeekCompleted(RoutedEventHandler const& handler) const;
// Revoke with event_token
void SeekCompleted(event_token const* cookie) const;
// Revoke with event_revoker
MediaElement::SeekCompleted_revoker SeekCompleted(auto_revoke_t, RoutedEventHandler const& handler) const;
public event RoutedEventHandler SeekCompleted;
function onSeekCompleted(eventArgs) { /* Your code */ }
mediaElement.addEventListener("seekcompleted", onSeekCompleted);
mediaElement.removeEventListener("seekcompleted", onSeekCompleted);
- or -
mediaElement.onseekcompleted = onSeekCompleted;
Public Custom Event SeekCompleted As RoutedEventHandler
<MediaElement SeekCompleted="eventhandler"/>