Exemple #1
0
        /// <summary>
        /// Initializes a new instance of <see cref="TileDecorator"/>.
        /// </summary>
        public TileDecorator()
        {
            listener            = new CompositionTargetRenderingListener();
            listener.Rendering += OnRendering;

            traslateTransform = new TranslateTransform();
        }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="AnimationPanel"/>.
 /// </summary>
 protected AnimationPanel()
 {
     renderingListener = new CompositionTargetRenderingListener();
     Loaded           += OnLoaded;
     Unloaded         += OnUnloaded;
 }