ComponentFactory.Krypton.Toolkit.PaletteOffice2007Silver.GetBackColorStyle C# (CSharp) Method

GetBackColorStyle() public method

Gets the color background drawing style.
public GetBackColorStyle ( PaletteBackStyle style, PaletteState state ) : PaletteColorStyle
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
return PaletteColorStyle
        public override PaletteColorStyle GetBackColorStyle(PaletteBackStyle style, PaletteState state)
        {
            switch (style)
            {
                case PaletteBackStyle.HeaderForm:
                    return PaletteColorStyle.Rounding2;
                default:
                    return base.GetBackColorStyle(style, state);
            }
        }