/// <summary> /// Creates a new instance of GradientControl /// </summary> public TwoColorSlider() { _min = 0; _max = 360; _leftHandle = new TwoColorHandle(this); _leftHandle.Position = .2F; _leftHandle.IsLeft = true; _rightHandle = new TwoColorHandle(this); _rightHandle.Position = .8F; }
/// <summary> /// Initializes a new instance of the <see cref="TwoColorSlider"/> class. /// </summary> public TwoColorSlider() { _min = 0; _max = 360; LeftHandle = new TwoColorHandle(this) { Position = .2F, IsLeft = true }; RightHandle = new TwoColorHandle(this) { Position = .8F }; }