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

GetContentShortTextColor2() public method

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