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

GetContentPadding() public method

Gets the padding between the border and content drawing.
public GetContentPadding ( PaletteContentStyle style, PaletteState state ) : Padding
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return Padding
        public override Padding GetContentPadding(PaletteContentStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteContent.GetContentPadding(state);
            else
                return base.GetContentPadding(style, state);
        }