Microsoft.Phone.Controls.TransitionFrame.PrepareContentPresenterForCompositor C# (CSharp) Метод

PrepareContentPresenterForCompositor() приватный статический Метод

Updates the content presenter for off-thread compositing for the transition animation. Also disables interactivity on it to prevent accidental touches.
private static PrepareContentPresenterForCompositor ( ContentPresenter presenter, bool applyBitmapCache = true ) : void
presenter System.Windows.Controls.ContentPresenter The content presenter instance.
applyBitmapCache bool A value indicating whether to apply /// a bitmap cache.
Результат void
        private static void PrepareContentPresenterForCompositor(ContentPresenter presenter, bool applyBitmapCache = true)
        {
            if (presenter != null)
            {
                if (applyBitmapCache)
                {
                    presenter.CacheMode = BitmapCacheMode;
                }
                presenter.IsHitTestVisible = false;
            }
        }