[]
        
(Showing Draft Content)

FarPoint.Web.Spread.CurrencyCellType.-ctor

CurrencyCellType Constructor

CurrencyCellType()

Creates a new currency cell.

Declaration
public CurrencyCellType()
Public Sub New()

CurrencyCellType(string)

Creates a new currency cell with the specified message to display.

Declaration
public CurrencyCellType(string errorMessage)
Public Sub New(errorMessage As String)
Parameters
Type Name Description
string errorMessage

Message (as a string) to display if the input value is not valid

CurrencyCellType(decimal, decimal)

Creates a new currency cell with the specified minimum and maximum values.

Declaration
public CurrencyCellType(decimal min, decimal max)
Public Sub New(min As Decimal, max As Decimal)
Parameters
Type Name Description
decimal min

Minimum value of currency (as decimal)

decimal max

Maximum value of currency (as decimal)

CurrencyCellType(decimal, decimal, string)

Creates a new currency cell with the specified minimum and maximum values and the specified error message.

Declaration
public CurrencyCellType(decimal min, decimal max, string errorMessage)
Public Sub New(min As Decimal, max As Decimal, errorMessage As String)
Parameters
Type Name Description
decimal min

Minimum value of currency (as decimal)

decimal max

Maximum value of currency (as decimal)

string errorMessage

Message (as string) to display when input value is not valid