Source/Rendering/Office2007RibbonTabGroupColorTable.cs

(完整代码) 1KB

using System;
using System.Text;
using System.Drawing;

namespace DevComponents.DotNetBar.Rendering
{
    /// <summary>
    /// Defines the color table for the Ribbon Tab Group.
    /// </summary>
    public class Office2007RibbonTabGroupColorTable
    {
        /// <summary>
        /// Gets or sets the name of the color table.
        /// </summary>
        public string Name = "";

        /// <summary>
        /// Gets or sets the background color.
        /// </summary>
        public LinearGradientColorTable Background = new LinearGradientColorTable(ColorScheme.GetColor(0xCADBF3), ColorScheme.GetColor(0xCDBFD7));

        /// <summary>
        /// Gets or sets the background highlight colors.
        /// </summary>
        public LinearGradientColorTable BackgroundHighlight = new LinearGradientColorTable(Color.FromArgb(192, ColorScheme.GetColor(0xD068C9)), Color.Transparent);

        /// <summary>
        /// Gets or sets the text color.
        /// </summary>
        public Color Text = ColorScheme.GetColor(0x15428B);

        /// <summary>
        /// Gets or sets the border color
        /// </summary>
        public LinearGradientColorTable Border = new LinearGradientColorTable(Color.FromArgb(16, Color.DarkGray), Color.FromArgb(192, Color.DarkGray));
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。