You can implement application-defined functions to intercept and handle events, provide custom view filtering, and draw custom previews.