MenuCompositeItem Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 MenuCompositeItem Class
Patterns-In-Action! ApplicationAspControlsMenuCompositeItem
Represents a menu item. This is a node in a tree of menu items. Menu items can have children themselves.
Declaration Syntax
C# Visual Basic
[SerializableAttribute]
public class MenuCompositeItem
<SerializableAttribute> _
Public Class MenuCompositeItem
Members
All Members Constructors Methods Properties



Icon Member Description
MenuCompositeItem(String, String)
Constructor of menu item.

Children
Gets and set list of child menu items. Composite Design Pattern. It is trought the Children property that an item can reference an entire list of the same objects.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Item
Gets and set menu item display name.

Link
Gets and sets menu item link.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
GoF Design Pattern: Composite.
Inheritance Hierarchy
Object
MenuCompositeItem

Assembly: Controls (Module: Controls) Version: 1.0.0.0 (1.0.0.0)