コード例 #1
0
        public void SetPureColorBackground(Brush brush, double opacity)
        {
            StopBackgroundVideo();

            if (IsHostBackground)
            {
                hostWindow.SetBackgroundColor(brush, opacity);
            }
            else
            {
                this.Background         = brush;
                this.Background.Opacity = opacity;
            }

            SetCurrentWindowToTop();
        }