Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / LockBackColor Property
Example


In This Topic
    LockBackColor Property
    In This Topic
    Gets or sets the background color of locked cells on this sheet.
    Syntax
    'Declaration
     
    Public Property LockBackColor As Color
    'Usage
     
    Dim instance As SheetView
    Dim value As Color
     
    instance.LockBackColor = value
     
    value = instance.LockBackColor
    public Color LockBackColor {get; set;}

    Property Value

    Color object containing the color of the background of the locked cells
    Example
    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;
    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
    See Also

    Reference

    SheetView Class
    SheetView Members

    User-Task Documentation

    Locking a Cell