dotnetCHARTING Send comments on this topic.
DefaultShadow Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : DefaultShadow Property


Gets or sets a shadow object whose properties will trickle to all other objects with shadows.

Syntax

Visual Basic (Declaration)  
Public Property DefaultShadow As Shadow
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim value As Shadow
 
instance.DefaultShadow = value
 
value = instance.DefaultShadow
C#  
public Shadow DefaultShadow {get; set;}

Example

C# Copy Code
Shadow shadowObj = new Shadow();
shadowObj.Color = Color.Blue;
shadowObj.Depth = 5;
shadowObj.Soft =true;
Chart.DefaultShadow = shadowObj;
    
Visual Basic Copy Code
Dim shadowObj As Shadow = new Shadow()
shadowObj.Color = Color.Blue
shadowObj.Depth = 5
shadowObj.Soft =true
Chart.DefaultShadow = shadowObj

See Also