C# Class Rock.Field.Types.GroupTypeGroupFieldType

Field Type to select a single (or null) group filtered by a selected group type Stored as "GroupType.Guid|Group.Guid"
Inheritance: FieldType
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Свойство Type Description
CONFIG_GROUP_PICKER_LABEL string

Méthodes publiques

Méthode Description
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>.Dictionary configurationValues, string id ) : Control

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

FormatValue ( Control 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 ( as Guid )

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

Sets the configuration value.

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

Sets the value. ( as Guid )

Method Details

ConfigurationControls() public méthode

Creates the HTML controls required to configure this type of field
public ConfigurationControls ( ) : List
Résultat List

ConfigurationKeys() public méthode

Returns a list of the configuration keys
public ConfigurationKeys ( ) : List
Résultat List

ConfigurationValues() public méthode

Gets the configuration value.
public ConfigurationValues ( List controls ) : ConfigurationValue>.Dictionary
controls List The controls.
Résultat ConfigurationValue>.Dictionary

EditControl() public méthode

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
Résultat System.Web.UI.Control

FormatValue() public méthode

Returns the field's current value(s)
public FormatValue ( Control parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string
parentControl System.Web.UI.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)
Résultat string

GetEditValue() public méthode

Reads new values entered by the user for the field ( as Guid )
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.
Résultat string

SetConfigurationValues() public méthode

Sets the configuration value.
public SetConfigurationValues ( List controls, ConfigurationValue>.Dictionary configurationValues ) : void
controls List The controls.
configurationValues ConfigurationValue>.Dictionary The configuration values.
Résultat void

SetEditValue() public méthode

Sets the value. ( as Guid )
public SetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues, string value ) : void
control System The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
value string The value.
Résultat void

Property Details

CONFIG_GROUP_PICKER_LABEL public_oe static_oe property

Configuration Key for Group Picker Label
public static string CONFIG_GROUP_PICKER_LABEL
Résultat string