Пример #1
0
 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();
 }
Пример #2
0
 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);
 }
Пример #3
0
 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);
 }