Ejemplo n.º 1
0
 private void ControlLoaded(object sender, RoutedEventArgs e)
 {
     RenderingEventManager.AddListener(renderingEventListener);
 }
 /// <summary>
 /// Subscribes to CompositionTarget.Rendering event.
 /// </summary>
 protected void SubscribeToRenderingEvent()
 {
     RenderingEventManager.AddListener(this.renderingEventListener);
 }