C# 클래스 Core.Forms.Extensions.FormElementsExtensions

파일 보기 프로젝트 열기: coreframework/Core-Framework

공개 프로퍼티들

프로퍼티 타입 설명
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