Carrotware.CMS.UI.Components.TwoLevelNavigation.FlipColor C# (CSharp) Метод

FlipColor() приватный Метод

private FlipColor ( ) : void
Результат void
        private void FlipColor()
        {
            this.HoverBGColor = this.HoverBGColor == Color.Empty ? this.ForeColor : this.HoverBGColor;
            this.HoverFGColor = this.HoverFGColor == Color.Empty ? this.BackColor : this.HoverFGColor;
            this.UnSelFGColor = this.UnSelFGColor == Color.Empty ? this.ForeColor : this.UnSelFGColor;
            this.SelBGColor = this.SelBGColor == Color.Empty ? this.ForeColor : this.SelBGColor;
            this.SelFGColor = this.SelFGColor == Color.Empty ? this.BackColor : this.SelFGColor;
            this.SubBGColor = this.SubBGColor == Color.Empty ? this.BackColor : this.SubBGColor;
            this.SubFGColor = this.SubFGColor == Color.Empty ? this.ForeColor : this.SubFGColor;
        }