예제 #1
0
        private void CreateMainImage()
        {
            _mainImage         = new Image();
            _mainImage.Name    = "ImageHolder";
            _mainImage.Stretch = System.Windows.Media.Stretch.Fill;

            _mainCanvas.Children.Add(_mainImage);

            DynamicCanvas.SetTop(_mainImage, _border);
            DynamicCanvas.SetLeft(_mainImage, _border);
            DynamicCanvas.SetZIndex(_mainImage, -500);
        }