.netCHARTING v10.7 Documentation
Example 


dotnetCHARTING Namespace > Chart Class : DefaultShadow Property
DefaultShadow Property
Gets or sets a shadow object whose properties will trickle to all other objects with shadows.
Syntax
'Declaration
 
Public Property DefaultShadow As Shadow
'Usage
 
Dim instance As Chart
Dim value As Shadow
 
instance.DefaultShadow = value
 
value = instance.DefaultShadow
public Shadow DefaultShadow {get; set;}
Example
Shadow shadowObj = new Shadow();
shadowObj.Color = Color.Blue;
shadowObj.Depth = 5;
shadowObj.Soft =true;
Chart.DefaultShadow = shadowObj;
Dim shadowObj As Shadow  = new Shadow()
shadowObj.Color = Color.Blue
shadowObj.Depth = 5
shadowObj.Soft =true
Chart.DefaultShadow = shadowObj
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