'Declaration Property DiagonalBorders As DiagonalBorders
DiagonalBorders DiagonalBorders {get; set;}
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The value assigned is not defined in the CellBorderLineStyle enumeration. |
If the diagonal borders are set to something other than None and the DiagonalBorderStyle is set to Default, it will be resolved to Thin. Similarly, if the DiagonalBorderColorInfo is null, it will be resolved to Color.Black.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
IWorksheetCellFormat Interface
IWorksheetCellFormat Members
BottomBorderColorInfo Property
BottomBorderStyle Property
DiagonalBorderColorInfo Property
DiagonalBorderStyle Property
LeftBorderColorInfo Property
LeftBorderStyle Property
RightBorderColorInfo Property
RightBorderStyle Property
TopBorderColorInfo Property
TopBorderStyle Property