public TabStrip(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator, INavigationItemAuthorization authorization) : base(viewContext, initializer) { UrlGenerator = urlGenerator; Authorization = authorization; Animation = new PopupAnimation(); Items = new List <TabStripItem>(); SelectedIndex = -1; HighlightPath = true; SecurityTrimming = new SecurityTrimming(); }
public Menu(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator, INavigationItemAuthorization authorization) : base(viewContext, initializer) { Animation = new PopupAnimation(); UrlGenerator = urlGenerator; Authorization = authorization; Items = new LinkedObjectCollection <MenuItem>(null); CloseOnClick = true; HighlightPath = true; SecurityTrimming = new SecurityTrimming(); }
public PanelBar(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator, INavigationItemAuthorization authorization) : base(viewContext, initializer) { Authorization = authorization; UrlGenerator = urlGenerator; Animation = new ExpandableAnimation(); ExpandMode = PanelBarExpandMode.Multiple; HighlightPath = true; Items = new LinkedObjectCollection <PanelBarItem>(null); SelectedIndex = -1; SecurityTrimming = new SecurityTrimming(); }
public TreeView(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator, INavigationItemAuthorization authorization) : base(viewContext, initializer) { UrlGenerator = urlGenerator; Authorization = authorization; Animation = new ExpandableAnimation(); this.DragAndDrop = false; Items = new LinkedObjectCollection <TreeViewItem>(null); SelectedIndex = -1; SecurityTrimming = new SecurityTrimming(); LoadOnDemand = true; Checkboxes = new TreeViewCheckboxesSettings(); DataSource = new DataSource(); AutoBind = true; }