Spread Windows Forms 10.0 Product Documentation
OverflowCharacter Property (CurrencyCellType)
Example 


Gets or sets the character for replacing the value if it does not fit the width of the display.
Syntax
'Declaration
 
Public Property OverflowCharacter As Char
'Usage
 
Dim instance As CurrencyCellType
Dim value As Char
 
instance.OverflowCharacter = value
 
value = instance.OverflowCharacter
public char OverflowCharacter {get; set;}

Property Value

Character containing the character for overflow
Example
This example specifies the character to display when the value is greater than the width of the column.
FarPoint.Win.Spread.CellType.CurrencyCellType curr = new FarPoint.Win.Spread.CellType.CurrencyCellType();
curr.OverflowCharacter = Char.ToLower("x");
fpSpread1.ActiveSheet.Cells[0, 0].CellType = curr;
fpSpread1.ActiveSheet.Cells[0, 0].Value = 5123465.45;
Dim curr As New FarPoint.Win.Spread.CellType.CurrencyCellType
curr.OverflowCharacter = Char.ToLower("x")
FpSpread1.ActiveSheet.Cells(0, 0).CellType = curr
FpSpread1.ActiveSheet.Cells(0, 0).Value = 5123465.45
Requirements

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

See Also

Reference

CurrencyCellType Class
CurrencyCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.