ExcelFileRowColumnResolutionMethod Property

Note: This API is now obsolete.

Gets or sets the CellStyle resolution method.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version:
[ObsoleteAttribute("This property is not relevant anymore. Cell will use formatting which was last set, just like MS Excel. For example, if you set column formatting, then all cells from that column will use that formatting. If you later set row formatting, then all cells from that row will use that formatting (including cells contained in the previously formatted column). This property is obsolete and will be removed in a future version. For more info, see https://www.gemboxsoftware.com/spreadsheet/help/html/Obsolete_Members.htm#ExcelFileRowColumnResolutionMethod.")]
public RowColumnResolutionMethod RowColumnResolutionMethod { get; set; }

Property Value

Type: RowColumnResolutionMethod

Because of limitations of Microsoft Excel file format, every cell must be written to file with resolved CellStyle. In the case where a cell doesn't have specific property set on its Style and that property is set on both row and column that contain that cell, a cell will inherit property value from row or column Style, depending on the resolution method.

Default value for this property is RowOverColumn.

See Also