.netCHARTING v10.5 Documentation
Example 


dotnetCHARTING Namespace > Box Class : ClearColors Method
ClearColors Method (Box)
Serves as a shortcut to make this box invisible.
Syntax
'Declaration
 
Public Sub ClearColors() 
'Usage
 
Dim instance As Box
 
instance.ClearColors()
public void 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
Example
Clears legend colors.
Chart.LegendBox.ClearColors();
Chart.LegendBox.ClearColors()
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also