C# Class Rock.Attribute.KeyValueListFieldAttribute

Inheritance: ValueListFieldAttribute
Mostra file Open project: NewSpring/Rock

Public Methods

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

Initializes a new instance of the ValueListFieldAttribute class.

Method Details

KeyValueListFieldAttribute() public method

Initializes a new instance of the ValueListFieldAttribute class.
public KeyValueListFieldAttribute ( string name = "", string description = "", bool required = true, string defaultValue = "", string keyPrompt = "", string valuePrompt = "", string definedTypeGuid = "", string customValues = "", string category = "", int order, string key = null, string fieldTypeClass = null, bool displayValueFirst = false ) : System
name string The name.
description string The description.
required bool if set to true [required].
defaultValue string The default value.
keyPrompt string The text to display as a prompt in the key textbox.
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.
fieldTypeClass string The field type class.
displayValueFirst bool if set to true [display value first].
return System