using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace Customize.Controls { internal class SkinTheme { #region initialize /// /// (构造函数).Initializes a new instance of the class. /// public SkinTheme() { this.IniSkinTheme(); } #endregion #region protected methods /// /// 初始化主题色彩方案 /// public virtual void IniSkinTheme() { } #endregion #region properties /// /// Gets or sets the theme style /// /// The theme style. public EnumTheme ThemeStyle { get; set; } /// /// 主题名称 /// /// The name of the theme. public string ThemeName { get; set; } /// /// 主题背景图片 /// /// The back ground image. public Bitmap BackGroundImage { get; set; } /// /// 主题背景图片透明度 /// /// The back ground image opacity. public float BackGroundImageOpacity { get; set; } /// /// 主题背景图片是否可用 /// /// /// true if [back ground image enable]; otherwise, false. /// public bool BackGroundImageEnable { get; set; } /// /// 基本色彩,用于控件或者区域的背景色 /// public Color BaseColor { get; set; } /// /// 边框色彩 /// public Color BorderColor { get; set; } /// /// 内边框色彩 /// public Color InnerBorderColor { get; set; } /// /// 外边框色彩(用于控件的阴影效果的绘制) /// public Color OuterBorderColor { get; set; } /// /// 默认控件色彩 /// public GradientColor DefaultControlColor { get; set; } /// /// 高亮控件色彩 /// public GradientColor HeightLightControlColor { get; set; } /// /// 焦点控件色彩 /// public GradientColor FocusedControlColor { get; set; } /// /// 不可用状态的渲染色彩 /// public Color UselessColor { get; set; } /// /// 窗口标题栏色彩 /// Gets or sets the color of the caption. /// /// The color of the caption. public GradientColor CaptionColor { get; set; } /// /// 窗口标题颜色 /// /// The color of the caption font. public Color CaptionFontColor { get; set; } /// /// 主题颜色(窗体背景色) /// Gets or sets the color of the theme. /// /// The color of the theme. public Color ThemeColor { get; set; } /// /// 窗体关闭按钮高亮颜色 /// Gets or sets the color of the close box height light. /// /// The color of the close box height light. public GradientColor CloseBoxHeightLightColor { get; set; } /// /// 窗体关闭按钮按下渲染色彩 /// Gets or sets the color of the close box pressed. /// /// The color of the close box pressed. public GradientColor CloseBoxPressedColor { get; set; } /// /// 窗体控制按钮默认色彩 /// Gets or sets the control box default colo /// /// The control box default colo. public GradientColor ControlBoxDefaultColor { get; set; } /// /// 窗体控制按钮高亮渲染色彩 /// Gets or sets the color of the control box height light. /// /// The color of the control box height light. public GradientColor ControlBoxHeightLightColor { get; set; } /// /// 窗体控制按钮按下渲染色彩 /// Gets or sets the color of the control box pressed. /// /// The color of the control box pressed. public GradientColor ControlBoxPressedColor { get; set; } /// /// 窗体按钮图案标记的颜色 /// Gets or sets the color of the control box flag. /// /// The color of the control box flag. public Color ControlBoxFlagColor { get; set; } #endregion } }