Source/Rendering/Office2007RibbonColorTable.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Text;
using System.Drawing;
namespace DevComponents.DotNetBar.Rendering
{
/// <summary>
/// Defines color table for Ribbon Control.
/// </summary>
public class Office2007RibbonColorTable
{
/// <summary>
/// Gets or sets the colors for the outer border.
/// </summary>
public LinearGradientColorTable OuterBorder = new LinearGradientColorTable(ColorScheme.GetColor("8DB2E3"), ColorScheme.GetColor("88A1C2"));
/// <summary>
/// Gets or sets the colors for the inner border.
/// </summary>
public LinearGradientColorTable InnerBorder = new LinearGradientColorTable(ColorScheme.GetColor("E7EFF8"), ColorScheme.GetColor("C0F9FF"));
/// <summary>
/// Gets or sets the colors for the tabs background area.
/// </summary>
public LinearGradientColorTable TabsBackground = new LinearGradientColorTable(ColorScheme.GetColor("BFDBFF"), Color.Empty);
/// <summary>
/// Gets or sets the color of border which is drawn above the tab.
/// </summary>
public Color TabDividerBorder = ColorScheme.GetColor("AECAF0");
/// <summary>
/// Gets or sets the light color of border which is drawn above the tab.
/// </summary>
public Color TabDividerBorderLight = ColorScheme.GetColor("D4E3F5");
/// <summary>
/// Gets or sets the round corner size for the ribbon control parts.
/// </summary>
public int CornerSize = 3;
/// <summary>
/// Gets or sets the height in pixels of top background part.
/// </summary>
public int PanelTopBackgroundHeight = 15;
/// <summary>
/// Gets or sets the top background colors.
/// </summary>
public LinearGradientColorTable PanelTopBackground = new LinearGradientColorTable(ColorScheme.GetColor("DBE6F4"), ColorScheme.GetColor("CFDDEF"));
/// <summary>
/// Gets or sets the bottom background colors.
/// </summary>
public LinearGradientColorTable PanelBottomBackground = new LinearGradientColorTable(ColorScheme.GetColor("C9D9ED"), ColorScheme.GetColor("E7F2FF"));
/// <summary>
/// Gets or sets the background image used on Office 2007 style start button displayed in top-left corner of ribbon control.
/// Note that image assigned to all StartButton properties must be the same size. The size for the button will be determined by image
/// size set on this property.
/// </summary>
public Image StartButtonDefault = null;
/// <summary>
/// Gets or sets the background image used on Office 2007 style start button displayed in top-left corner of ribbon control when mouse is over the button.
后面还有 8 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。