ComponentFactory.Krypton.Toolkit.KryptonOffice2010Renderer.GradientItemColorsPressed.GradientItemColorsPressed C# (CSharp) Method

GradientItemColorsPressed() public method

Initialize a new instance of the GradientItemColorsPressed class.
public GradientItemColorsPressed ( Color border, Color begin, Color end ) : System
border Color Base border color.
begin Color Beginning background color.
end Color Ending background color.
return System
            public GradientItemColorsPressed(Color border,
                                             Color begin,
                                             Color end)
            {
                // Calculate all colors from the provided parameters
                Border1 = CommonHelper.WhitenColor(border, 1.21f, 1.68f, 2.02f);
                Border2 = CommonHelper.WhitenColor(border, 1.21f, 1.25f, 1.22f);
                Back1 = begin;
            }
KryptonOffice2010Renderer.GradientItemColorsPressed