Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SheetCornerVerticalGridLine Property
Example


In This Topic
    SheetCornerVerticalGridLine Property
    In This Topic
    Gets or sets the vertical grid line for the sheet corner.
    Syntax
    'Declaration
     
    Public Property SheetCornerVerticalGridLine As GridLine
    'Usage
     
    Dim instance As SheetView
    Dim value As GridLine
     
    instance.SheetCornerVerticalGridLine = value
     
    value = instance.SheetCornerVerticalGridLine
    public GridLine SheetCornerVerticalGridLine {get; set;}

    Property Value

    GridLine object containing the grid lines in the sheet corner
    Exceptions
    ExceptionDescription
    No value is specified (specified value is null)
    Example
    This example sets grid lines for the sheet corner.
    FarPoint.Win.Spread.GridLine gl = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Raised, Color.LightBlue,
    Color.Blue, Color.DarkBlue);
    fpSpread1.ActiveSheet.SheetCornerHorizontalGridLine = gl;
    fpSpread1.ActiveSheet.SheetCornerVerticalGridLine = gl;
    Dim gl As New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Raised, Color.LightBlue, Color.Blue, Color.DarkBlue)
    FpSpread1.ActiveSheet.SheetCornerHorizontalGridLine = gl
    FpSpread1.ActiveSheet.SheetCornerVerticalGridLine = gl
    See Also