Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / LockForeColor Property

In This Topic
    LockForeColor Property
    In This Topic
    Gets or sets the foreground color of locked cells on this sheet.
    Public Property LockForeColor As Color
    Dim instance As SheetView
    Dim value As Color
    instance.LockForeColor = value
    value = instance.LockForeColor
    public Color LockForeColor {get; set;}

    Property Value

    Color object containing the color of the text of the locked cells
    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


    SheetView Class
    SheetView Members

    User-Task Documentation

    Locking a Cell