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

상속: FieldType
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

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

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

FilterControl ( ConfigurationValue>.System configurationValues, string id, bool required, Rock filterMode ) : Control

Creates the control needed to filter (query) values using this field type.

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

Returns the field's current value(s)

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

Reads new values entered by the user for the field

HasFilterControl ( ) : bool

Determines whether this filter has a filter control

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

Sets the value.

메소드 상세

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

FilterControl() 공개 메소드

Creates the control needed to filter (query) values using this field type.
public FilterControl ( ConfigurationValue>.System configurationValues, string id, bool required, Rock filterMode ) : Control
configurationValues ConfigurationValue>.System The configuration values.
id string The identifier.
required bool if set to true [required].
filterMode Rock The filter mode.
리턴 System.Web.UI.Control

FormatValue() 공개 메소드

Returns the field's current value(s)
public FormatValue ( Control parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string
parentControl Control 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 ( Control control, ConfigurationValue>.Dictionary configurationValues ) : string
control Control Parent control that controls were added to in the CreateEditControl() method
configurationValues ConfigurationValue>.Dictionary
리턴 string

HasFilterControl() 공개 메소드

Determines whether this filter has a filter control
public HasFilterControl ( ) : bool
리턴 bool

SetEditValue() 공개 메소드

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