ComponentFactory.Krypton.Toolkit.PaletteOffice2007Base.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)
        {
            // We do not provide override values
            if (CommonHelper.IsOverrideState(state))
                return InheritBool.Inherit;

            // Always draw everything
            return InheritBool.True;
        }
PaletteOffice2007Base