C# Class Rock.Attribute.ValueListFieldAttribute

Inheritance: FieldAttribute
Exibir arquivo Open project: NewSpring/Rock

Public Methods

Method Description
ValueListFieldAttribute ( string name = "", string description = "", bool required = true, string defaultValue = "", string valuePrompt = "", string definedTypeGuid = "", string customValues = "", string category = "", int order, string key = null ) : System

Initializes a new instance of the DefinedValueFieldAttribute class.

Private Methods

Method Description
ValueListFieldAttribute ( string name = "", string description = "", bool required = true, string defaultValue = "", string valuePrompt = "", string definedTypeGuid = "", string customValues = "", string category = "", int order, string key = null, string fieldTypeClass = null ) : System

Initializes a new instance of the ValueListFieldAttribute class.

Method Details

ValueListFieldAttribute() public method

Initializes a new instance of the DefinedValueFieldAttribute class.
public ValueListFieldAttribute ( string name = "", string description = "", bool required = true, string defaultValue = "", string valuePrompt = "", string definedTypeGuid = "", string customValues = "", string category = "", int order, string key = null ) : System
name string The name.
description string The description.
required bool if set to true [required].
defaultValue string The default value.
valuePrompt string The text to display as a prompt in the label textbox.
definedTypeGuid string An Optional Defined Type Guid to select values from, otherwise values will be free-form text fields..
customValues string Optional list of options to use for the values. Format is either 'value1,value2,value3,...', or 'value1:text1,value2:text2,value3:text3,...'.
category string The category.
order int The order.
key string The key.
return System