public HelpText ( string text, bool inline = true ) : |
||
text | string | |
inline | bool | |
리턴 |
public LabelAndControl HelpText(string text, bool inline = true)
{
var helpCode = string.Format("<span class=\"{0}\">{1}</span>", inline ? "help-inline" : "help-block", text);
_control = MvcHtmlString.Create(_control + helpCode);
return this;
}