ComponentFactory.Krypton.Toolkit.PaletteDataGridViewBackInherit.GetBackColor1 C# (CSharp) Method

GetBackColor1() public method

Gets the first background color.
public GetBackColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetBackColor1(PaletteState state)
        {
            switch (state)
            {
                case PaletteState.Normal:
                    return _cellStyle.BackColor;
                case PaletteState.CheckedNormal:
                    return _cellStyle.SelectionBackColor;
            }

            return _inherit.GetBackColor1(state);
        }