C# Class EPiUtilities.WebControls.MultiLevelMenu

Inheritance: EPiUtilities.WebControls.BaseClasses.ChildrenBasedPageDataMenuBase
ファイルを表示 Open project: JohannesOstensjo/EPiUtilities

Protected Properties

Property Type Description
AddSeparatorForLevel bool>.Dictionary
AddedForLevel bool>.Dictionary

Private Properties

Property Type Description

Protected Methods

Method Description
AddItem ( System.PageData item, int itemNumber, int level ) : void

Adds an item.

AddItemTemplate ( ITemplate template, System.PageData item, int itemNumber, bool selected, int level, bool hasChildren ) : void

Adds an item with the specified template.

AddLevel ( PageDataCollection items, int level ) : void

Adds a level.

AddLevelEndTemplate ( int level ) : void

Adds a level end template.

AddLevelStartTemplate ( int level ) : void

Adds a level start template.

GetChildrenItems ( PageReference root ) : PageDataCollection

Gets the children of root with filters according to configuration.

OnPreRender ( EventArgs e ) : void

Override which creates and adds the content of the control.

Method Details

AddItem() protected method

Adds an item.
protected AddItem ( System.PageData item, int itemNumber, int level ) : void
item System.PageData
itemNumber int
level int
return void

AddItemTemplate() protected method

Adds an item with the specified template.
protected AddItemTemplate ( ITemplate template, System.PageData item, int itemNumber, bool selected, int level, bool hasChildren ) : void
template ITemplate
item System.PageData
itemNumber int
selected bool
level int
hasChildren bool
return void

AddLevel() protected method

Adds a level.
protected AddLevel ( PageDataCollection items, int level ) : void
items PageDataCollection
level int
return void

AddLevelEndTemplate() protected method

Adds a level end template.
protected AddLevelEndTemplate ( int level ) : void
level int
return void

AddLevelStartTemplate() protected method

Adds a level start template.
protected AddLevelStartTemplate ( int level ) : void
level int
return void

GetChildrenItems() protected method

Gets the children of root with filters according to configuration.
protected GetChildrenItems ( PageReference root ) : PageDataCollection
root PageReference
return PageDataCollection

OnPreRender() protected method

Override which creates and adds the content of the control.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

Property Details

AddSeparatorForLevel protected_oe property

Indicates if a separator should be added when adding a new item to a level.
protected Dictionary AddSeparatorForLevel
return bool>.Dictionary

AddedForLevel protected_oe property

Indicates if an item was added to a level during an iteration.
protected Dictionary AddedForLevel
return bool>.Dictionary