'Declaration Public Function GetCellConditionalFormat( _ ByVal columnIndex As System.Integer _ ) As CellConditionalFormat
public CellConditionalFormat GetCellConditionalFormat( System.int columnIndex )
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | columnIndex is less than zero or greater than or equal to the number of columns in the worksheet. |
System.InvalidOperationException | If the row was removed from the worksheet. |
Note: if the cell is contained in one or more conditional format regions but doesn't match any of the criteria an instance of Infragistics.Documents.Excel.ConditionalFormatting.CellConditionalFormat will still be returned but its Infragistics.Documents.Excel.ConditionalFormatting.CellConditionalFormat.HasConditionFormatting property will return null. However, if the sell is not contained in any conditional format region then this method will return null.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, 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
View on GitHub