ComponentFactory.Krypton.Toolkit.PaletteOffice2007Black.GetBorderColor2 C# (CSharp) Method

GetBorderColor2() public method

Gets the second border color.
public GetBorderColor2 ( PaletteBorderStyle style, PaletteState state ) : Color
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetBorderColor2(PaletteBorderStyle style, PaletteState state)
        {
            switch (style)
            {
                case PaletteBorderStyle.TabDock:
                    switch (state)
                    {
                        case PaletteState.Normal:
                            return _schemeColors[(int)SchemeOfficeColors.ControlBorder];
                    }
                    break;
            }

            return base.GetBorderColor2(style, state);
        }