Loading
In this article the content area of the XAML file has two TextBlock elements with RotateTransform objects set to their RenderTransform properties, and a Button that handles its OnClick event. The code-behind file saves the current time in a field and then attaches a handler for the CompositionTarget.Rendering event. This event handler is then called in synchronization with the video frame rate.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.