[]
Initializes a new instance of the ConditionalFormattingModelEventArgs class.
public ConditionalFormattingModelEventArgs(ConditionalFormatting conditionalFormatting, ConditionalFormattingModelEventType type)
Public Sub New(conditionalFormatting As ConditionalFormatting, type As ConditionalFormattingModelEventType)
Type | Name | Description |
---|---|---|
ConditionalFormatting | conditionalFormatting | The conditional formatting. |
ConditionalFormattingModelEventType | type | The type. |
Creates a new Changed event arguments object for the conditional formatting model for the sheet.
public ConditionalFormattingModelEventArgs(int row, int column, int rowCount, int columnCount, ConditionalFormattingModelEventType type, ICollection<ConditionalFormatting> affectedCFs, ICollection<CellRange> affectedCellranges)
Public Sub New(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, type As ConditionalFormattingModelEventType, affectedCFs As ICollection(Of ConditionalFormatting), affectedCellranges As ICollection(Of CellRange))
Type | Name | Description |
---|---|---|
int | row | Row index |
int | column | Column index |
int | rowCount | Number of rows |
int | columnCount | Number of columns |
ConditionalFormattingModelEventType | type | Type of change that occurred in the conditional formatting model |
ICollection<ConditionalFormatting> | affectedCFs | The affected conditional formattings |
ICollection<CellRange> | affectedCellranges | The affected cell ranges |
Creates a new Changed event arguments object for the conditional formatting model for the sheet.
public ConditionalFormattingModelEventArgs(int row, int column, int rowCount, int columnCount, int targetRow, int targetColumn, ConditionalFormattingModelEventType type, ICollection<ConditionalFormatting> affectedCFs, ICollection<CellRange> affectedCellranges)
Public Sub New(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, targetRow As Integer, targetColumn As Integer, type As ConditionalFormattingModelEventType, affectedCFs As ICollection(Of ConditionalFormatting), affectedCellranges As ICollection(Of CellRange))
Type | Name | Description |
---|---|---|
int | row | Row index |
int | column | Column index |
int | rowCount | Number of rows |
int | columnCount | Number of columns |
int | targetRow | Target row index |
int | targetColumn | Target column index |
ConditionalFormattingModelEventType | type | Type of change that occurred in the conditional formatting model |
ICollection<ConditionalFormatting> | affectedCFs | The affected conditional formattings |
ICollection<CellRange> | affectedCellranges | The affected cell ranges |
Initializes a new instance of the ConditionalFormattingModelEventArgs class.
public ConditionalFormattingModelEventArgs(ConditionalFormatting conditionalFormatting, bool isAffectedLayout)
Public Sub New(conditionalFormatting As ConditionalFormatting, isAffectedLayout As Boolean)
Type | Name | Description |
---|---|---|
ConditionalFormatting | conditionalFormatting | The conditional formatting. |
bool | isAffectedLayout | Indicates if the change has affected the conditional formatting layout. |