C# Класс Core.Forms.Extensions.FormElementsExtensions

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CaptchaDefaultHeight System.Int32
CaptchaDefaultWidth System.Int32
ElementValuesSeparator char
FormElementNameFormat String

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

Метод Описание
FormElementRenderer ( this html, FormElement model, System.Web.Mvc.FormCollection collection ) : System.Web.Mvc.MvcHtmlString

Renders html depends on model's type (i.e. textbox, radion buttons)

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

Метод Описание
ParseElementValuesForDropDown ( String values, String selectedValue ) : IEnumerable

Parses the element values for drop down list.

ParseElementValuesForRadioButtons ( String values, String elementName ) : String>.Dictionary

Parses the element values for radio buttons.

RenderElementByType ( HtmlHelper html, FormElement model, String elementName, String elementValue ) : String

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

FormElementRenderer() публичный статический Метод

Renders html depends on model's type (i.e. textbox, radion buttons)
public static FormElementRenderer ( this html, FormElement model, System.Web.Mvc.FormCollection collection ) : System.Web.Mvc.MvcHtmlString
html this The HTML.
model FormElement The model.
collection System.Web.Mvc.FormCollection The collection.
Результат System.Web.Mvc.MvcHtmlString

Описание свойств

CaptchaDefaultHeight публичное статическое свойство

public static Int32,System CaptchaDefaultHeight
Результат System.Int32

CaptchaDefaultWidth публичное статическое свойство

public static Int32,System CaptchaDefaultWidth
Результат System.Int32

ElementValuesSeparator публичное статическое свойство

public static char ElementValuesSeparator
Результат char

FormElementNameFormat публичное статическое свойство

public static String FormElementNameFormat
Результат String