C# 클래스 Rock.Field.Types.CurrencyFieldType

Field used to save and display a currency amount
상속: FieldType
파일 보기 프로젝트 열기: SparkDevNetwork/Rock

공개 메소드들

메소드 설명
EditControl ( ConfigurationValue>.System configurationValues, string id ) : System.Web.UI.Control

Creates the control(s) necessary for prompting user for a new value

FormatValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string

Formats date display

IsValid ( string value, bool required, string &message ) : bool

Tests the value to ensure that it is a valid value. If not, message will indicate why

SortValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues ) : object

Returns the value that should be used for sorting, using the most appropriate datatype

ValueAsFieldType ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues ) : object

Returns the value using the most appropriate datatype

메소드 상세

EditControl() 공개 메소드

Creates the control(s) necessary for prompting user for a new value
public EditControl ( ConfigurationValue>.System configurationValues, string id ) : System.Web.UI.Control
configurationValues ConfigurationValue>.System The configuration values.
id string
리턴 System.Web.UI.Control

FormatValue() 공개 메소드

Formats date display
public FormatValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string
parentControl System The parent control.
value string Information about the value
configurationValues ConfigurationValue>.Dictionary The configuration values.
condensed bool Flag indicating if the value should be condensed (i.e. for use in a grid column)
리턴 string

IsValid() 공개 메소드

Tests the value to ensure that it is a valid value. If not, message will indicate why
public IsValid ( string value, bool required, string &message ) : bool
value string The value.
required bool if set to true [required].
message string The message.
리턴 bool

SortValue() 공개 메소드

Returns the value that should be used for sorting, using the most appropriate datatype
public SortValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues ) : object
parentControl System The parent control.
value string The value.
configurationValues ConfigurationValue>.Dictionary The configuration values.
리턴 object

ValueAsFieldType() 공개 메소드

Returns the value using the most appropriate datatype
public ValueAsFieldType ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues ) : object
parentControl System The parent control.
value string The value.
configurationValues ConfigurationValue>.Dictionary The configuration values.
리턴 object