C# Class Rock.Attribute.CustomDropdownListFieldAttribute

Inheritance: FieldAttribute
Mostra file Open project: NewSpring/Rock

Public Methods

Method Description
CustomDropdownListFieldAttribute ( string name, string description, string listSource, bool required = false, string defaultValue = "", string category = "", int order, string key = null ) : System

Initializes a new instance of the CustomDropdownListFieldAttribute class.

Method Details

CustomDropdownListFieldAttribute() public method

Initializes a new instance of the CustomDropdownListFieldAttribute class.
public CustomDropdownListFieldAttribute ( string name, string description, string listSource, bool required = false, string defaultValue = "", string category = "", int order, string key = null ) : System
name string The name.
description string The description.
listSource string The source of the values to display in a list. Format is either 'value1,value2,value3,...', 'value1^text1,value2^text2,value3^text3,...', or a SQL Select statement that returns result set with a 'Value' and 'Text' column.
required bool if set to true [required].
defaultValue string The default value. If multiple values are supported (i.e. checkbox) each value should be delimited by a comma
category string The category.
order int The order.
key string The key.
return System