C# 클래스 MvcContrib.FluentHtml.Behaviors.TypeCssClassBehavior

Adds CSS classes to the element based on the type of the member. Specifically handles number and date elements.
상속: ThreadSafeMemberBehavior
파일 보기 프로젝트 열기: atomicobject/mvccontrib 1 사용 예제들

공개 메소드들

메소드 설명
TypeCssClassBehavior ( ) : System

Constructor. Sets "number" as the class to add for number elements and "date" for date element.

TypeCssClassBehavior ( string numberClass, string dateClass ) : System

Constructor.

보호된 메소드들

메소드 설명
DoExecute ( IMemberElement element ) : void

메소드 상세

DoExecute() 보호된 메소드

protected DoExecute ( IMemberElement element ) : void
element IMemberElement
리턴 void

TypeCssClassBehavior() 공개 메소드

Constructor. Sets "number" as the class to add for number elements and "date" for date element.
public TypeCssClassBehavior ( ) : System
리턴 System

TypeCssClassBehavior() 공개 메소드

Constructor.
public TypeCssClassBehavior ( string numberClass, string dateClass ) : System
numberClass string The class to use for number elements.
dateClass string The class to use for date elements.
리턴 System