/// <summary> /// Creates a new instance of GradientControl /// </summary> public HueSlider() { _min = 0; _max = 360; _leftHandle = new HueHandle(this); _leftHandle.Position = 72; _leftHandle.Left = true; _rightHandle = new HueHandle(this); _rightHandle.Position = 288; }
/// <summary> /// Initializes a new instance of the <see cref="HueSlider"/> class. /// </summary> public HueSlider() { _min = 0; _max = 360; LeftHandle = new HueHandle(this) { Position = 72, Left = true }; RightHandle = new HueHandle(this) { Position = 288 }; }