dotnetCHARTING Send comments on this topic.
ClearColors Method
See Also  Example
dotnetCHARTING Namespace > Box Class : ClearColors Method


Serves as a shortcut to make this box invisible.

Syntax

Visual Basic (Declaration)  
Public Sub ClearColors() 
Visual Basic (Usage) Copy Code
Dim instance As Box
 
instance.ClearColors()
C#  
public void ClearColors()

Example

Clears legend colors.
C# Copy Code
Chart.LegendBox.ClearColors();
    
Visual Basic Copy Code
Chart.LegendBox.ClearColors()

Remarks

The following properties are set when invoked:

Background.Color = Color.Empty

Background.Bevel = false

Line.Color = Color.Empty

Shadow.Color = Color.Empty

InteriorLine.Color = Color.Empty

See Also