public NavigationDropDown() { this.Component = new NavigationDropDownItemComponent(); this.Component.HtmlProperties = new HtmlProperties(); this.Component.DropDownMenu = new DropDown(); //this.Component.Link = new Link(); this.Component.NavigationItem = new NavigationItem(); }
public NavigationDropDown(ViewContext view) { this.ViewContext = view; this.Component = new NavigationDropDownItemComponent(); this.Component.DropDownMenu = new DropDown(view); this.Component.HtmlProperties = new HtmlProperties(); this.Component.NavigationItem = new NavigationItem(view); }
public NavigationDropDown(String Id) { this.Component = new NavigationDropDownItemComponent(); this.Component.HtmlProperties = new HtmlProperties(); this.Component.HtmlProperties.Id = Id; this.Component.DropDownMenu = new DropDown("DD_" + Id); //this.Component.Link = new Link("Link_" + Id); this.Component.NavigationItem = new NavigationItem("NI_" + Id); }