public void SetTextKnobRelation(TextKnobRelation textKnobRelation) { if (textKnobRelation != _textKnobRelation) { _textKnobRelation = textKnobRelation; base.Invalidate(); } }
public Knob() { _markerWidth = 2; _maxAngle = 270; _tickVisible = true; _tickColor = Color.Black; _knobColor = Color.Black; _markerColor = Color.Black; _textKnobRelation = TextKnobRelation.TextAboveKnob; _knobBorderStyle = KnobStyle.RibbedBorder; _knobRadius = 12; }