using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace DevComponents.DotNetBar.Rendering { /// /// Defines the color table for the Range Slider Item in single state. /// public class Office2010RangeSliderColorTable { /// /// Gets or sets the colors for the slider which changes the minimum value of the range. /// public Office2010RangeSliderPartStateColorTable MinRangeSlider = new Office2010RangeSliderPartStateColorTable(); /// /// Gets or sets the colors for the slider which changes the maximum value of the range. /// public Office2010RangeSliderPartStateColorTable MaxRangeSlider = new Office2010RangeSliderPartStateColorTable(); /// /// Gets or sets the tick line color. /// public Color TickLineColor = Color.Empty; /// /// /// Gets or sets the color for the line which indicates current range value. /// public Color RangeValueLineColor = Color.Empty; /// /// Gets or sets the background colors of the current range value. /// public GradientColorTable RangeValueBackground = null; /// /// Gets or sets the color for the line showing control range. /// public Color RangeLineColor = Color.Empty; /// /// Gets or sets the background colors for the line showing control range. /// public GradientColorTable RangeBackground = null; /// /// Gets or sets the corner radius for the range rectangle. /// public int RangeCornerRadius = 1; } /// /// Defines the color table for the Range Slider Item in single state. /// public class Office2010RangeSliderPartStateColorTable { /// /// Gets or sets the default state colors. /// public Office2010RangeChangePartColorTable Default = new Office2010RangeChangePartColorTable(); /// /// Gets or sets the mouse over state colors. /// public Office2010RangeChangePartColorTable MouseOver = new Office2010RangeChangePartColorTable(); /// /// Gets or sets the mouse pressed colors. /// public Office2010RangeChangePartColorTable Pressed = new Office2010RangeChangePartColorTable(); /// /// Gets or sets the disabled colors. /// public Office2010RangeChangePartColorTable Disabled = new Office2010RangeChangePartColorTable(); } public class Office2010RangeChangePartColorTable { /// /// Initializes a new instance of the Office2010RangeChangePartColorTable class. /// public Office2010RangeChangePartColorTable() { } /// /// Initializes a new instance of the Office2010RangeChangePartColorTable class. /// /// /// /// public Office2010RangeChangePartColorTable(GradientColorTable background, Color borderColor, Color borderLightColor) { Background = background; BorderColor = borderColor; BorderLightColor = borderLightColor; } /// /// Gets or sets the part background colors. /// public GradientColorTable Background = null; /// /// Gets or sets the part border color /// public Color BorderColor = Color.Empty; /// /// Gets or sets the part border light color /// public Color BorderLightColor = Color.Empty; } }