public ZoomWithPerspective()
        {
            Model = new LocalDataSource();
            this.InitializeComponent();

            // Get the current compositor
            _compositor = ElementCompositionPreview.GetElementVisual(this).Compositor;
        }
        public ThumbnailLighting()
        {
            Model = new LocalDataSource();
            this.InitializeComponent();

            // Get the current compositor
            _compositor = ElementCompositionPreview.GetElementVisual(this).Compositor;


            //
            // Create the lights
            //

            _ambientLight = _compositor.CreateAmbientLight();
            _pointLight = _compositor.CreatePointLight();
            _distantLight = _compositor.CreateDistantLight();
            _spotLight = _compositor.CreateSpotLight();
        }
 public ForegroundFocusEffects()
 {
     Model = new LocalDataSource();
     this.InitializeComponent();
 }
 public CustomConnectedAnimation()
 {
     Model = new LocalDataSource();
     this.InitializeComponent();
     NavigationCacheMode = NavigationCacheMode.Enabled;
 }
 public PhotoViewer()
 {
     Model = new LocalDataSource();
     this.InitializeComponent();
 }
 public PointerEnterEffects()
 {
     Model = new LocalDataSource();
     this.InitializeComponent();
 }