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

GetContentImageColorTo() public method

Gets the color to use in place of the image map color.
public GetContentImageColorTo ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetContentImageColorTo(PaletteContentStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);

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