ComponentFactory.Krypton.Toolkit.PaletteRibbonText.GetRibbonTextColor C# (CSharp) Method

GetRibbonTextColor() public method

Gets the tab color for the item text.
public GetRibbonTextColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color
        public Color GetRibbonTextColor(PaletteState state)
        {
            if (TextColor != Color.Empty)
                return TextColor;
            else
            {
                if (_inheritText != null)
                    return _inheritText.GetRibbonTextColor(state);
                else
                    return Color.Empty;
            }
        }