ComponentFactory.Krypton.Toolkit.PaletteBackInheritNode.GetBackDraw C# (CSharp) Method

GetBackDraw() public method

Gets a value indicating if background should be drawn.
public GetBackDraw ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
return InheritBool
        public override InheritBool GetBackDraw(PaletteState state)
        {
            if ((TreeNode != null) && (TreeNode.BackColor != Color.Empty))
                return InheritBool.True;
            else
                return _inherit.GetBackDraw(state);
        }