Spread ASP.NET 6.0 Product Documentation
FocusRectangleBorderColor Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : FocusRectangleBorderColor Property


Glossary Item Box

Gets or sets the color of the border for the focus rectangle.

Syntax

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

Property Value

Color object containing the color of the focus rectangle border

Example

This example sets the border style of the focus rectangle.
C#Copy Code
FpSpread1.ShowFocusRectangle = true;
FpSpread1.FocusRectangleBorderStyle = FarPoint.Web.Spread.FocusBorderStyle.Dotted;
FpSpread1.FocusRectangleBorderColor = Color.Red;
Visual BasicCopy Code
FpSpread1.ShowFocusRectangle = True
FpSpread1.FocusRectangleBorderStyle = FarPoint.Web.Spread.FocusBorderStyle.Dotted
FpSpread1.FocusRectangleBorderColor = Color.Red

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.