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

Field Type to select a Day of the Week stored as int value that can be cast to System.DayOfWeek (where Sunday = 0)
상속: FieldType
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
ConvertValueToPropertyType ( string value, Type propertyType, bool isNullableType ) : object

Converts the type of the value to property.

EditControl ( ConfigurationValue>.Dictionary configurationValues, string id ) : Control

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

FilterCompareControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control

Gets the filter compare control.

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

Returns the field's current value(s)

GetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues ) : string

Reads new values entered by the user for the field

GetFilterCompareValue ( Control control, FilterMode filterMode ) : string

Gets the filter compare value.

SetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues, string value ) : void

Sets the value.

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

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

메소드 상세

ConvertValueToPropertyType() 공개 메소드

Converts the type of the value to property.
public ConvertValueToPropertyType ( string value, Type propertyType, bool isNullableType ) : object
value string The value.
propertyType System.Type Type of the property.
isNullableType bool if set to true [is nullable type].
리턴 object

EditControl() 공개 메소드

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

FilterCompareControl() 공개 메소드

Gets the filter compare control.
public FilterCompareControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control
configurationValues ConfigurationValue>.Dictionary The configuration values.
id string The identifier.
required bool if set to true [required].
filterMode FilterMode The filter mode.
리턴 System.Web.UI.Control

FormatValue() 공개 메소드

Returns the field's current value(s)
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

GetEditValue() 공개 메소드

Reads new values entered by the user for the field
public GetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues ) : string
control System Parent control that controls were added to in the CreateEditControl() method
configurationValues ConfigurationValue>.Dictionary The configuration values.
리턴 string

GetFilterCompareValue() 공개 메소드

Gets the filter compare value.
public GetFilterCompareValue ( Control control, FilterMode filterMode ) : string
control System.Web.UI.Control The control.
filterMode FilterMode The filter mode.
리턴 string

SetEditValue() 공개 메소드

Sets the value.
public SetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues, string value ) : void
control System The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
value string The value.
리턴 void

SortValue() 공개 메소드

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