public Boolean DarkPen {get; set;}

Remarks


The DarkPen property sets the border of the Pie to a middle grey when false.
When true, the border is drawn using the border color selected.

Example


[C#]

private void Form1_Load(object sender, System.EventArgs e) 
{
     checkBox1.Checked =false;
     checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
     checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     checkBox1.Name = "checkBox1";
     checkBox1.Size = new System.Drawing.Size(70, 24);
     checkBox1.TabIndex = 0;
     checkBox1.Text = "DarkPen";
     checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);

}

private void checkBox1_CheckedChanged(object sender, System.EventArgs e)
{    
     pie1.DarkPen =! checkBox1.Checked;
}

See Also

Pie Class | Pie Members | Steema.TeeChart.Styles Namespace