C# Class EPiUtilities.WebControls.MultiLevelMenu

Inheritance: EPiUtilities.WebControls.BaseClasses.ChildrenBasedPageDataMenuBase
Afficher le fichier Open project: JohannesOstensjo/EPiUtilities

Protected Properties

Свойство Type Description
AddSeparatorForLevel bool>.Dictionary
AddedForLevel bool>.Dictionary

Private Properties

Свойство Type Description

Méthodes protégées

Méthode 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 méthode

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

AddItemTemplate() protected méthode

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
Résultat void

AddLevel() protected méthode

Adds a level.
protected AddLevel ( PageDataCollection items, int level ) : void
items PageDataCollection
level int
Résultat void

AddLevelEndTemplate() protected méthode

Adds a level end template.
protected AddLevelEndTemplate ( int level ) : void
level int
Résultat void

AddLevelStartTemplate() protected méthode

Adds a level start template.
protected AddLevelStartTemplate ( int level ) : void
level int
Résultat void

GetChildrenItems() protected méthode

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

OnPreRender() protected méthode

Override which creates and adds the content of the control.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
Résultat 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
Résultat bool>.Dictionary

AddedForLevel protected_oe property

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