ComponentFactory.Krypton.Toolkit.PaletteProfessionalSystem.GenerateColorTable C# (CSharp) Method

GenerateColorTable() private method

Generate an appropriate color table.
private GenerateColorTable ( ) : KryptonProfessionalKCT
return KryptonProfessionalKCT
        internal virtual KryptonProfessionalKCT GenerateColorTable()
        {
            // Create the color table to use as the base for getting krypton colors
            KryptonColorTable kct = new KryptonColorTable(this);

            // Always turn off the use of any theme specific colors
            kct.UseSystemColors = true;

            // Calculate the krypton specific colors
            Color[] colors = new Color[] { kct.OverflowButtonGradientEnd,   // Header1Begin
                                           kct.OverflowButtonGradientEnd,   // Header1End
                                         };

            // Create a krypton extension color table
            return new KryptonProfessionalKCT(colors, true, this);
        }
PaletteProfessionalSystem