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 base.GetContentAdjacentGap(style, state);
}