Spread for ASP.NET 7.0 Product Documentation
ScrollBarShadowColor Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : ScrollBarShadowColor Property


Glossary Item Box

Gets or sets the color of the bottom and right edges of the scroll box and scroll arrows of the scroll bars in the Spread component.

Syntax

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

Property Value

Color object containing the shadow color for the scroll bar elements

Remarks

This property applies to parts of the scroll bars when they are displayed.
The scroll box is the square element in a scroll bar that moves on a track to change the position of the displayed contents when clicked and dragged. The scroll arrows are the square buttons at each end of a scroll bar that move the content on the screen in small increments when clicked.

This property (as well as any of the scroll bar related properties) does not have an effect on the Mozilla Firefox rowser. Firefox does not support the CSS properties to handle this customization of the scroll bars.

Example

This example sets the scroll bar colors.
C#Copy Code
FpSpread1.ScrollBar3DLightColor = Color.Yellow;
FpSpread1.ScrollBarArrowColor = Color.Brown;
FpSpread1.ScrollBarBaseColor = Color.Goldenrod;
FpSpread1.ScrollBarDarkShadowColor = Color.DarkOrange;
FpSpread1.ScrollBarFaceColor = Color.RosyBrown;
FpSpread1.ScrollBarHighlightColor = Color.BurlyWood;
FpSpread1.ScrollBarShadowColor = Color.SandyBrown;
FpSpread1.ScrollBarTrackColor = Color.Thistle; 
VB.NETCopy Code
FpSpread1.ScrollBar3DLightColor = Color.Yellow
FpSpread1.ScrollBarArrowColor = Color.Brown
FpSpread1.ScrollBarBaseColor = Color.Goldenrod
FpSpread1.ScrollBarDarkShadowColor = Color.DarkOrange
FpSpread1.ScrollBarFaceColor = Color.RosyBrown
FpSpread1.ScrollBarHighlightColor = Color.BurlyWood
FpSpread1.ScrollBarShadowColor = Color.SandyBrown
FpSpread1.ScrollBarTrackColor = Color.Thistle 

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.