C# Класс Rock.Attribute.ValueListFieldAttribute

Наследование: FieldAttribute
Показать файл Открыть проект

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

Метод Описание
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.

Приватные методы

Метод Описание
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.

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

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

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.
Результат System