Copyright Accelerated Ideas 2007 Legacy Blog Posts | Blog Home | .NET Components

AICompactMenu – How to add sub menu items at design time


1/2/2007

The AICompactMenu component is designed for simple design time support of sub menu items. Developers can edit sub menu items by using the 'ListItems' property in the properties window.

From here developers can edit the strongly typed generic collection of AILinkItems. Each LinkItem encapsulates an individual sub menu item.

Each item can be tailored including properties for:

ItemTitle
ForeColor
Enabled
etc..


This generic collection is also available at runtime where developers can access AILinkItems using the .Net 2.0 framework strongly typed collection methods and properties:

List<AILinkItem>.Add
List<AILinkItem>.AddRange
List<AILinkItem>.ForEach
List<AILinkItem>.GetEnumerator
List<AILinkItem>.Capacity


For more information on the features of AICompactMenu refer to the readme.htm file included in the download


< Blog Home