public ThemeScrollbarChrome() { BackColor = Color.FromArgb(241, 241, 241); DrawBorder = false; DrawBackground = true; InnerPaddingWidth = 0; MiddleButtonOutterSpace1 = 0; MiddleButtonOutterSpace2 = 2; ShowSideButtons = true; //SideButtonCanDisabled = true; SideButtonLength = 17; BestUndirectLen = 17; SideButtonColorTable = GetSideButtonColorTable(); MiddleButtonColorTable = GetMiddleButtonColorTable(); SideButtonForePathSize = new Size(7, 7); SideButtonForePathGetter = new ButtonForePathGetter( GraphicsPathHelper.Create7x4In7x7DownTriangleFlag); HowSideButtonForePathDraw = ForePathRenderMode.Draw; DrawLinesInMiddleButton = false; }
private void SetDefaultValue() { InnerPaddingWidth = 0; MiddleButtonOutterSpace1 = 1; MiddleButtonOutterSpace2 = 0; SideButtonLength = 16; BestUndirectLen = 15; DrawBackground = true; DrawBorder = false; DrawInnerBorder = false; ShowSideButtons = true; //SideButtonCanDisabled = false; BackColor = Color.FromArgb(227, 227, 227); BorderColor = Color.FromArgb(248, 248, 248); SideButtonForePathSize = new Size(10, 9); SideButtonForePathGetter = new ButtonForePathGetter( Gdu.WinFormUI.MyGraphics.GraphicsPathHelper.Create7x4DownTriangleFlag); SideButtonColorTable = SideBtnColor(); MiddleButtonColorTable = MdlBtnColor(); HowSideButtonForePathDraw = ForePathRenderMode.Draw; DrawLinesInMiddleButton = true; MiddleBtnLineOutterSpace1 = 4; MiddleBtnLineOutterSpace2 = 4; MiddleButtonLine1Color = Color.FromArgb(89, 89, 89); MiddleButtonLine2Color = Color.FromArgb(182, 182, 182); SideButtonRadius = MiddleButtonRadius = 0; SideButtonBorderType = ButtonBorderType.Rectangle; }
public ThemeScrollbarXMPBlack() { BackColor = Color.FromArgb(64, 64, 64); BorderColor = Color.FromArgb(17, 17, 17); DrawBackground = true; DrawBorder = true; InnerPaddingWidth = 1; MiddleButtonOutterSpace1 = 0; MiddleButtonOutterSpace2 = 1; SideButtonLength = 14; BestUndirectLen = 14; SideButtonForePathSize = new Size(7, 7); SideButtonForePathGetter = new ButtonForePathGetter( GraphicsPathHelper.Create7x4In7x7DownTriangleFlag); MiddleButtonColorTable = GetMiddleButtonColorTable(); SideButtonColorTable = GetSideButtonColorTable(); DrawLinesInMiddleButton = true; MiddleButtonLine1Color = Color.FromArgb(42, 42, 42); MiddleButtonLine2Color = Color.FromArgb(95, 95, 95); MiddleBtnLineOutterSpace1 = 2; MiddleBtnLineOutterSpace2 = 2; }
public ThemeScrollbarVS2013() { DrawLinesInMiddleButton = false; ShowSideButtons = true; DrawBackground = true; DrawBorder = false; DrawInnerBorder = false; BackColor = Color.FromArgb(232, 232, 232); InnerPaddingWidth = 0; MiddleButtonOutterSpace1 = 0; MiddleButtonOutterSpace2 = 4; BestUndirectLen = 17; SideButtonLength = 17; SideButtonColorTable = SideBtnColor(); MiddleButtonColorTable = MdlBtnColor(); SideButtonForePathSize = new Size(9, 9); SideButtonForePathGetter = new ButtonForePathGetter( Gdu.WinFormUI.MyGraphics.GraphicsPathHelper.Create9x5DownTriangleFlag); }
public ThemeScrollbarVS2013() { DrawLinesInMiddleButton = false; ShowSideButtons = true; DrawBackground = true; DrawBorder = false; DrawInnerBorder = false; BackColor = Color.FromArgb(232, 232, 232); InnerPaddingWidth = 0; MiddleButtonOutterSpace1 = 0; MiddleButtonOutterSpace2 = 4; BestUndirectLen = 17; SideButtonLength = 17; SideButtonTheme.ColorTable = SideBtnColor(); MdlButtonTheme.ColorTable = MdlBtnColor(); SideButtonForePathSize = new Size(9, 9); SideButtonForePathGetter = new ButtonForePathGetter( GraphicsPathHelper.Create9x5DownTriangleFlag); }
public ThemeScrollbarDevStyle() { BestUndirectLen = 17; BackColor = Color.FromArgb(245, 245, 247); MiddleButtonOutterSpace2 = 5; SideButtonLength = 17; InnerPaddingWidth = 0; SideButtonForePathGetter = new ButtonForePathGetter( GraphicsPathHelper.Create7x4In7x7DownTriangleFlag); SideButtonForePathSize = new Size(7, 7); SideButtonColorTable.ForeColorNormal = Color.FromArgb(128, 131, 143); SideButtonColorTable.ForeColorHover = Color.FromArgb(32, 31, 53); SideButtonColorTable.ForeColorPressed = Color.Black; MiddleButtonColorTable.BorderColorNormal = MiddleButtonColorTable.BorderColorHover = MiddleButtonColorTable.BorderColorPressed = Color.FromArgb(169, 172, 181); MiddleButtonColorTable.BackColorNormal = Color.FromArgb(217, 218, 223); MiddleButtonColorTable.BackColorHover = Color.FromArgb(213, 224, 252); MiddleButtonColorTable.BackColorPressed = Color.FromArgb(202, 203, 205); MiddleButtonRadius = 6; }
private void SetDefaultValue() { InnerPaddingWidth = 0; MiddleButtonOutterSpace1 = 1; MiddleButtonOutterSpace2 = 0; SideButtonLength = 16; BestUndirectLen = 15; DrawBackground = true; DrawBorder = false; DrawInnerBorder = false; ShowSideButtons = true; //SideButtonCanDisabled = false; BackColor = Color.FromArgb(227,227,227); BorderColor = Color.FromArgb(248, 248, 248); SideButtonForePathSize = new Size(7, 7); SideButtonForePathGetter = new ButtonForePathGetter( GraphicsPathHelper.Create7x4In7x7DownTriangleFlag); //SideButtonColorTable = SideBtnColor(); //MiddleButtonColorTable = MdlBtnColor(); HowSideButtonForePathDraw = ForePathRenderMode.Draw; DrawLinesInMiddleButton = true; MiddleBtnLineOutterSpace1 = 4; MiddleBtnLineOutterSpace2 = 4; MiddleButtonLine1Color = Color.FromArgb(89, 89, 89); MiddleButtonLine2Color = Color.FromArgb(182, 182, 182); //SideButtonRadius = MiddleButtonRadius = 0; SideButtonBorderType = ButtonBorderType.Rectangle; BackgroundRadius = 0; DrawExtraMiddleLine = false; ExtraMiddleLineLength = 6; SideButtonTheme = GetSideButtonTheme(); MdlButtonTheme = GetMdlButtonTheme(); }