ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.SpreadBuilder Assembly / GrapeCity.SpreadBuilder.Cells Namespace / DDCells Class / BorderDiagonalEnum Property

In This Topic
    BorderDiagonalEnum Property (DDCells)
    In This Topic
    Sets the diagonal border style of the cell.
    Syntax
    'Declaration
     
    Public WriteOnly Property BorderDiagonalEnum As BorderDiagonalStyles
    public BorderDiagonalStyles BorderDiagonalEnum {set;}

    Property Value

    A GrapeCity.SpreadBuilder.Style.BorderDiagonalStyles value, represents whether a diagonal border goes up, down, or both (forming an "X" across the cell).
    Remarks
    The GrapeCity.SpreadBuilder.Style.BorderDiagonalStyles enumeration provides options for setting the diagonal border to appear in different directions:
    • Upward diagonal from the bottom-left to the top-right of the cell.
    • Downward diagonal from the top-left to the bottom-right of the cell.
    • Both directions, forming an "X" shape within the cell.
    • None, indicating no diagonal border.
    By default, this property is None and will not be displayed if you do not set it.
    See Also