public GetBackColor2 ( PaletteBackStyle style, PaletteState state ) : Color | ||
style | PaletteBackStyle | Background style. |
state | PaletteState | Palette value should be applicable to this state. |
Результат | Color |
public override Color GetBackColor2(PaletteBackStyle style, PaletteState state)
{
IPaletteTriple inherit = GetInherit(state);
if (inherit != null)
return inherit.PaletteBack.GetBackColor2(state);
else
return Target.GetBackColor2(style, state);
}