C# Class BootstrapMvcHelpers.DropDownHelper

The DropDownHelper class
Inheritance: IBootstrapComponent
Afficher le fichier Open project: JCherryhomes/BootstrapMvcHelpers Class Usage Examples

Méthodes publiques

Méthode Description
DropDownHelper ( HtmlHelper helper, string name, IEnumerable selectList, string optionLabel, object htmlAttributes ) : System

Gets the string representation of the menu drop down control.

Render ( ) : string

Renders this instance.

Private Methods

Méthode Description
GetDropDownDivBuilder ( string name, object htmlAttributes ) : TagBuilder

Gets the drop down div builder.

GetDropDownTriggerBuilder ( string name, string optionLabel ) : TagBuilder

Gets the drop down trigger builder.

GetListItemBuilder ( MenuItem item ) : TagBuilder

Gets the list item builder.

GetTriggerCaretBuilder ( ) : TagBuilder

Gets the trigger caret builder.

GetUnorderedListBuilder ( ) : TagBuilder

Gets the unordered list builder.

Method Details

DropDownHelper() public méthode

Gets the string representation of the menu drop down control.
public DropDownHelper ( HtmlHelper helper, string name, IEnumerable selectList, string optionLabel, object htmlAttributes ) : System
helper HtmlHelper The helper.
name string The name.
selectList IEnumerable The select list.
optionLabel string The option label.
htmlAttributes object The HTML attributes.
Résultat System

Render() public méthode

Renders this instance.
public Render ( ) : string
Résultat string