ComponentFactory.Krypton.Toolkit.PaletteRedirectCommon.GetContentDraw C# (CSharp) Method

GetContentDraw() public method

Gets a value indicating if content should be drawn.
public GetContentDraw ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return InheritBool
        public override InheritBool GetContentDraw(PaletteContentStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteContent.GetContentDraw(state);
            else
                return base.GetContentDraw(style, state);
        }