ComponentFactory.Krypton.Toolkit.PaletteRedirectCommon.GetBorderColor1 C# (CSharp) Method

GetBorderColor1() public method

Gets the first border color.
public GetBorderColor1 ( PaletteBorderStyle style, PaletteState state ) : Color
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetBorderColor1(PaletteBorderStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteBorder.GetBorderColor1(state);
            else
                return base.GetBorderColor1(style, state);
        }