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); }