Gets or sets the formatter for cells in this alternating row.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Formatter As IFormatter |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As AlternatingRow
Dim value As IFormatter
instance.Formatter = value
value = instance.Formatter |
Property Value
IFormatter object containing the formatter
Remarks
Example
This example specifies the editor, formatter, and renderer for the alternating row.
C# | Copy Code |
---|
FarPoint.Win.Spread.AlternatingRow altrow;
altrow = fpSpread1.ActiveSheet.AlternatingRows[0];
altrow.Editor = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
altrow.Formatter = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
altrow.Renderer = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); |
Visual Basic | Copy Code |
---|
Dim altrow As FarPoint.Win.Spread.AlternatingRow
altrow = FpSpread1.ActiveSheet.AlternatingRows(0)
altrow.Editor = New FarPoint.Win.Spread.CellType.CheckBoxCellType()
altrow.Formatter = New FarPoint.Win.Spread.CellType.CheckBoxCellType()
altrow.Renderer = New FarPoint.Win.Spread.CellType.CheckBoxCellType() |
Requirements
Target Platforms: 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
See Also