RaUI/Source/ryControls/Gdu.WinFormUI/GMControls/TrackBar/GMTrackBarThemeBase.cs
如果当时 34a3ef3ed9 ### 2021-02-22更新
------
#### ryControls    V2.1.2102.2201
*.[新增]新加入Gdu.WinformUI控件。
2021-02-22 21:42:59 +08:00

74 lines
2.3 KiB
C#

using System;
using System.Drawing;
//忽略没有注释警告
#pragma warning disable 1591
namespace MGdu.WinFormUI
{
public class GMTrackBarThemeBase
{
#region
public int ButtonLength1 { get; set; }
public int ButtonLength2 { get; set; }
public int MainLineLength { get; set; }
public int ButtonOutterSpace1 { get; set; }
public int ButtonOutterSpace2 { get; set; }
public int TickLineLength { get; set; }
public int TickLineSpaceWithButton { get; set; }
public int TickLineSpaceWithBorder { get; set; }
#endregion
#region
public int BorderWidth { get; set; }
public bool DrawBackground { get; set; }
public bool DrawBorder { get; set; }
public bool DrawInnerBorder { get; set; }
public Color BackColor { get; set; }
public Color BorderColor { get; set; }
public Color InnerBorderColor { get; set; }
public Color TickLineColor { get; set; }
#endregion
#region extra
public ButtonColorTable ThumbButtonColorTable { get; set; }
public ButtonBorderType ThumbButtonBorderType { get; set; }
public bool MainLineDrawBorder { get; set; }
public Color MainLineBorderColor { get; set; }
public int MainLineRadius { get; set; }
public Color MainLineRange1BackColor { get; set; }
public Color MainLineRange2BackColor { get; set; }
#endregion
public GMTrackBarThemeBase()
{
ButtonLength1 = 8;
ButtonLength2 = 18;
MainLineLength = 4;
ButtonOutterSpace1 = 4;
ButtonOutterSpace2 = 2;
TickLineLength = 3;
TickLineSpaceWithButton = 2;
TickLineSpaceWithBorder = 6;
BorderWidth = 1;
DrawBackground = true;
DrawBorder = false;
DrawInnerBorder = false;
BackColor = Color.Transparent;
TickLineColor = Color.FromArgb(185, 185, 185);
MainLineDrawBorder = true;
MainLineBorderColor = Color.FromArgb(0, 114, 198);
MainLineRadius = 0;
MainLineRange1BackColor = MainLineRange2BackColor = Color.White;
}
}
}