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

GetContentLongTextColor2() public method

Gets the second back color for the long text.
public GetContentLongTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetContentLongTextColor2(PaletteState state)
        {
            KryptonTreeNode kryptonNode = TreeNode as KryptonTreeNode;

            if ((kryptonNode != null) && (kryptonNode.LongForeColor != Color.Empty))
                return kryptonNode.LongForeColor;
            else
                return _inherit.GetContentLongTextColor2(state);
        }