Esempio n. 1
0
 /// <summary>
 /// Subscribes to CompositionTarget.Rendering event.
 /// </summary>
 protected void SubscribeToRenderingEvent()
 {
     RenderingEventManager.AddListener(renderingEventListener);
 }
 /// <summary>
 /// Unsubscribes the CompositionTarget.Rendering event.
 /// </summary>
 protected void UnsubscribeRenderingEvent()
 {
     RenderingEventManager.RemoveListener(this.renderingEventListener);
 }