BootstrapMvcHelpers.DropDownHelper.DropDownHelper C# (CSharp) Method

DropDownHelper() public method

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.
return System
        public DropDownHelper(HtmlHelper helper, string name, IEnumerable<MenuItem> selectList, string optionLabel, object htmlAttributes)
        {
            this.helper = helper;
            this.name = name;
            this.selectList = selectList;
            this.optionLabel = optionLabel;
            this.htmlAttributes = htmlAttributes;
        }