Spread Windows Forms 7.0 Product Documentation
GetValidConditionalFormat Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > IConditionalFormatSupport Interface : GetValidConditionalFormat Method


row
Row index of cell
column
Column index of cell
value
Cell value
dm
Data model

Glossary Item Box

Gets the style for the first condition that is satisfied from the list of conditional formats for the cell at the specified row and column.

Syntax

Visual Basic (Declaration) 
Function GetValidConditionalFormat( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal value As Object, _
   ByVal dm As ISheetDataModel _
) As NamedStyle
Visual Basic (Usage)Copy Code
Dim instance As IConditionalFormatSupport
Dim row As Integer
Dim column As Integer
Dim value As Object
Dim dm As ISheetDataModel
Dim value As NamedStyle
 
value = instance.GetValidConditionalFormat(row, column, value, dm)
C# 
NamedStyle GetValidConditionalFormat( 
   int row,
   int column,
   object value,
   ISheetDataModel dm
)

Parameters

row
Row index of cell
column
Column index of cell
value
Cell value
dm
Data model

Return Value

NamedStyle object containing the style settings of the first valid conditional format

Remarks

This method reads through the list of conditional formats for a cell at the specified row and column, and returns the format (the style information) for the first condition that is satisfied.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.