private void radialSlider3_DrawText(object sender, Syncfusion.Windows.Forms.Tools.RadialSlider.DrawTextEventArgs e) { if (e.TextType == Syncfusion.Windows.Forms.Tools.TextType.Value) { e.Text = radialSlider3.Value.ToString("N00") + "%"; e.ForeColor = new SolidBrush(Color.DarkOrange); } }
private void radialSlider2_DrawText(object sender, Syncfusion.Windows.Forms.Tools.RadialSlider.DrawTextEventArgs e) { if (e.TextType == Syncfusion.Windows.Forms.Tools.TextType.Value) { e.Text = "$" + radialSlider2.Value.ToString("N00"); e.ForeColor = new SolidBrush(Color.DarkCyan); } else if (e.TextType == Syncfusion.Windows.Forms.Tools.TextType.Interval) { e.Font = new Font(radialSlider2.Font, FontStyle.Italic); e.ForeColor = new SolidBrush(Color.BlueViolet); } else if (e.TextType == Syncfusion.Windows.Forms.Tools.TextType.Pointer) { e.Font = new Font(radialSlider2.Font, FontStyle.Bold); e.ForeColor = new SolidBrush(Color.Black); } }