ComponentFactory.Krypton.Toolkit.PaletteRedirectTriple.GetContentAdjacentGap C# (CSharp) Method

GetContentAdjacentGap() public method

Gets the padding between adjacent content items.
public GetContentAdjacentGap ( PaletteContentStyle style, PaletteState state ) : int
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return int
        public override int GetContentAdjacentGap(PaletteContentStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);

            if (inherit != null)
                return inherit.PaletteContent.GetContentAdjacentGap(state);
            else
                return Target.GetContentAdjacentGap(style, state);
        }
PaletteRedirectTriple