C# Класс Rock.Field.Types.SlidingDateRangeFieldType

Field used to save a sliding date range. Last X (Hours, Days, etc)
Наследование: FieldType
Показать файл Открыть проект

Открытые методы

Метод Описание
ConfigurationControls ( ) : List

Creates the HTML controls required to configure this type of field

ConfigurationKeys ( ) : List

Returns a list of the configuration keys

ConfigurationValues ( List controls ) : ConfigurationValue>.Dictionary

Gets the configuration value.

EditControl ( ConfigurationValue>.System 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 ( System control, ConfigurationValue>.System configurationValues ) : string

Reads new values entered by the user for the field

HasFilterControl ( ) : bool

Determines whether this filter has a filter control

SetConfigurationValues ( List controls, ConfigurationValue>.Dictionary configurationValues ) : void

Sets the configuration value.

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

Sets the value.

Описание методов

ConfigurationControls() публичный Метод

Creates the HTML controls required to configure this type of field
public ConfigurationControls ( ) : List
Результат List

ConfigurationKeys() публичный Метод

Returns a list of the configuration keys
public ConfigurationKeys ( ) : List
Результат List

ConfigurationValues() публичный Метод

Gets the configuration value.
public ConfigurationValues ( List controls ) : ConfigurationValue>.Dictionary
controls List The controls.
Результат ConfigurationValue>.Dictionary

EditControl() публичный Метод

Creates the control(s) necessary for prompting user for a new value
public EditControl ( ConfigurationValue>.System configurationValues, string id ) : Control
configurationValues ConfigurationValue>.System The configuration values.
id string
Результат 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 ( System control, ConfigurationValue>.System configurationValues ) : string
control System Parent control that controls were added to in the CreateEditControl() method
configurationValues ConfigurationValue>.System The configuration values.
Результат string

HasFilterControl() публичный Метод

Determines whether this filter has a filter control
public HasFilterControl ( ) : bool
Результат bool

SetConfigurationValues() публичный Метод

Sets the configuration value.
public SetConfigurationValues ( List controls, ConfigurationValue>.Dictionary configurationValues ) : void
controls List
configurationValues ConfigurationValue>.Dictionary
Результат void

SetEditValue() публичный Метод

Sets the value.
public SetEditValue ( System control, ConfigurationValue>.System configurationValues, string value ) : void
control System The control.
configurationValues ConfigurationValue>.System The configuration values.
value string The value.
Результат void