ComponentFactory.Krypton.Toolkit.PaletteContentInheritNode.GetContentShortTextColor1 C# (CSharp) Method

GetContentShortTextColor1() public method

Gets the first back color for the short text.
public GetContentShortTextColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetContentShortTextColor1(PaletteState state)
        {
            if ((TreeNode != null) && (TreeNode.ForeColor != Color.Empty))
                return TreeNode.ForeColor;
            else
                return _inherit.GetContentShortTextColor1(state);
        }