public override int GetContentAdjacentGap(PaletteContentStyle style, PaletteState state) { IPaletteTriple inherit = GetInherit(state); if (inherit != null) return inherit.PaletteContent.GetContentAdjacentGap(state); else return base.GetContentAdjacentGap(style, state); }