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


Glossary Item Box

Gets or sets the background color of locked cells on this sheet.

Syntax

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

Property Value

Color object containing the color of the background of the locked cells

Example

C#Copy Code
FpSpread1.ActiveSheetView.Cells[0, 0].Text = "Locked";
FpSpread1.ActiveSheetView.Cells[0, 0].Locked = true;
FpSpread1.ActiveSheetView.LockBackColor = Drawing.Color.Crimson;
FpSpread1.ActiveSheetView.LockForeColor = Drawing.Color.DimGray;
Visual BasicCopy Code
FpSpread1.ActiveSheetView.Cells(0, 0).Text = "Locked"
FpSpread1.ActiveSheetView.Cells(0, 0).Locked = True
FpSpread1.ActiveSheetView.LockBackColor = Drawing.Color.Crimson
FpSpread1.ActiveSheetView.LockForeColor = Drawing.Color.DimGray

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

Reference

SheetView Class
SheetView Members

User-Task Documentation

Locking a Cell

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