ComponentFactory.Krypton.Toolkit.PaletteRedirectTriple.GetContentImageColorTo C# (CSharp) Méthode

GetContentImageColorTo() public méthode

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.
Résultat 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