C# 클래스 Rock.Attribute.KeyValueListFieldAttribute

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

공개 메소드들

메소드 설명
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.

메소드 상세

KeyValueListFieldAttribute() 공개 메소드

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].
리턴 System