C# Class BootstrapExtensions.Base.Form.Label.LabelAndControl

Inheritance: BootstrapExtensions.Common.HtmlContainer
Show file Open project: jordanwallwork/bootstrapextensions

Public Methods

Method Description
Append ( IHtmlString html ) : LabelAndControl
Append ( string text ) : LabelAndControl
Error ( bool condition = true ) : LabelAndControl
HelpText ( string text, bool inline = true ) : LabelAndControl
Info ( bool condition = true ) : LabelAndControl
LabelAndControl ( System.Web.Mvc.ViewContext viewContext, string labelFor, string labelText, IHtmlString control ) : System.Collections.Generic
Prepend ( IHtmlString html ) : LabelAndControl
Prepend ( string text ) : LabelAndControl
Success ( bool condition = true ) : LabelAndControl
ToHtmlString ( ) : string
Warning ( bool condition = true ) : LabelAndControl

Private Methods

Method Description
ControlHtml ( ) : string

Method Details

Append() public method

public Append ( IHtmlString html ) : LabelAndControl
html IHtmlString
return LabelAndControl

Append() public method

public Append ( string text ) : LabelAndControl
text string
return LabelAndControl

Error() public method

public Error ( bool condition = true ) : LabelAndControl
condition bool
return LabelAndControl

HelpText() public method

public HelpText ( string text, bool inline = true ) : LabelAndControl
text string
inline bool
return LabelAndControl

Info() public method

public Info ( bool condition = true ) : LabelAndControl
condition bool
return LabelAndControl

LabelAndControl() public method

public LabelAndControl ( System.Web.Mvc.ViewContext viewContext, string labelFor, string labelText, IHtmlString control ) : System.Collections.Generic
viewContext System.Web.Mvc.ViewContext
labelFor string
labelText string
control IHtmlString
return System.Collections.Generic

Prepend() public method

public Prepend ( IHtmlString html ) : LabelAndControl
html IHtmlString
return LabelAndControl

Prepend() public method

public Prepend ( string text ) : LabelAndControl
text string
return LabelAndControl

Success() public method

public Success ( bool condition = true ) : LabelAndControl
condition bool
return LabelAndControl

ToHtmlString() public method

public ToHtmlString ( ) : string
return string

Warning() public method

public Warning ( bool condition = true ) : LabelAndControl
condition bool
return LabelAndControl