示例#1
0
        public void Destructive()
        {
            RadialGradientBrush rgb = new RadialGradientBrush();

            // from this instance we can change all default values
            BrushTest.DestructiveRelativeTransform(rgb);
            BrushTest.DestructiveTransform(rgb);
            // but it's safe to execute since we revert the changes
        }
示例#2
0
        public void Destructive()
        {
            VideoBrush vb = new VideoBrush();

            // from this instance we can change all default values
            BrushTest.DestructiveRelativeTransform(vb);
            BrushTest.DestructiveTransform(vb);
            // but it's safe to execute since we revert the changes
        }
示例#3
0
        public void Destructive()
        {
            SolidColorBrush scb = new SolidColorBrush();

            // from this instance we can change all default values
            BrushTest.DestructiveRelativeTransform(scb);
            BrushTest.DestructiveTransform(scb);
            // but it's safe to execute since we revert the changes
        }