Spread for ASP.NET 9.0 Product Documentation
ScrollBar3DLightColor Property
Example 


Gets or sets the color of the top and left edges of the scroll box and scroll arrows of a scroll bar in the Spread component.
Syntax
'Declaration
 
Public Property ScrollBar3DLightColor As Color
'Usage
 
Dim instance As FpSpread
Dim value As Color
 
instance.ScrollBar3DLightColor = value
 
value = instance.ScrollBar3DLightColor
public Color ScrollBar3DLightColor {get; set;}

Property Value

Color object containing the light 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 sets the light color that gives the scroll box and scroll arrows their three-dimensional appearance.

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

Example
This example sets colors for the scroll bars.
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; 
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members

User-Task Documentation

Customizing the Scroll Bar Colors
Understanding Browser Support

 

 


Copyright © GrapeCity, inc. All rights reserved.