ComponentOne WebMenus and WebBars for ASP.NET (2.0) Search HelpCentral 

C1WebMenu Properties

The properties of the C1WebMenu class are listed here. For a complete list of C1WebMenu class members, see the C1WebMenu Members topic.

Public Properties

AccessKey (inherited from WebControl)

Keyboard shortcut used by the control.

AllowMultipleSelect (inherited from C1WebCustomTreeControl)

If false, only single item can be selected in the control.

AllowSelectItem (inherited from C1WebCustomTreeControl)

If true, one or more item in control can be selected.

AllowUnselectItem (inherited from C1WebCustomTreeControl)

If true, use can unselect the item by second click on it.

AlwaysHasSelected (inherited from C1WebCustomTreeControl)

If true and if AllowSelectItem=true at minimum one item in control is selected.

AppRelativeTemplateSourceDirectory (inherited from Control)

The virtual directory of the Page or UserControl that contains this control.

Attributes (inherited from WebControl)

Tag attributes of the control.

AutoPostBack (inherited from C1WebCommandBase)

Sets or retrieves a value that indicates whether or not the control posts back to the server each time a user interacts with the control.

BackColor (inherited from WebControl)

Color of the background of the control.

BackImageUrl (inherited from C1WebCommandBase)

Background image URL.

BorderColor (inherited from WebControl)

Color of the border around the control.

BorderStyle (inherited from WebControl)

Style of the border around the control.

BorderWidth (inherited from WebControl)

Width of the border around the control.

CausesValidation (inherited from C1WebCommandBase)

Whether to trigger ASP.NET page validation when a node is selected.

ClickToOpen

If true, the user should click on the root menu so the submenus will appear.

ClientDir (inherited from C1WebCommandBase)

Determines where the client scripts are loaded from.

ClientID (inherited from Control)

The ID of the control that is rendered for the client.

ContextControlId

Client-side ID of the element that the context menu is bounded to.

ContextMenu

Indicates Whether to use the ContextMenu and which type of context menu to use. The types of context menus are the following: Control, Custom, Default, and None.

ControlStyle (inherited from WebControl)

The style associated with the control.

ControlStyleCreated (inherited from WebControl)

Whether the style associated with the control has been created.

CssClass (inherited from WebControl)

CSS Class name applied to the control.

DataBindings (inherited from C1WebCommandBase)

Data bindings for items in the control.

DataSource (inherited from BaseDataBoundControl)

The data source that is used to populate the items in the list.

DisabledGroupStyle (inherited from C1WebCommandBase)

Default style for the disabled groups.

DisabledItemStyle (inherited from C1WebCommandBase)

Default style for the child items in disabled state.

Enabled (inherited from WebControl)

Enabled state of the control.

EnableViewState (inherited from Control)

Whether the control automatically saves its state for use in round-trips.

ExpandEffect

The expand effect.

ExpandEffectDuration

The duration of the ExpandEffect in ms.

Font (inherited from WebControl)

The font used for text within the control.

ForeColor (inherited from WebControl)

Color of the text within the control.

GroupPadding (inherited from C1WebCommandBase)

Default space between group's border and items in the group.

GroupStyle (inherited from C1WebCommandBase)

Default style for the groups.

Height (inherited from WebControl)

The height of the control.

HideSubMenuDelay

Delay in milliseconds to hide submenu.

HorzPopupDirection

Gets or sets the horizontal direction of the submenu's appearance.

IconBarWidth (inherited from C1WebCommandBase)

Sets or returns the width of the icon bar drawn on the side of the groups.

ID (inherited from Control)

Programmatic name of the control.

ItemPadding (inherited from C1WebCommandBase)

Default padding for the link items.

Items (inherited from C1WebCustomTreeControl)

Returns a collection of the child items.

ItemSpacing (inherited from C1WebCommandBase)

Default spacing between items in group.

ItemStyle (inherited from C1WebCommandBase)

Default style for the child items in normal state.

KeyboardSupport (inherited from C1WebCommandBase)

Whether to enable keyboard control of this Control.

Layout

Indicates whether to layout the web menu items vertically or horizontally.

MouseOverItemStyle (inherited from C1WebCommandBase)

Default style for the child items when the mouse hovers over it.

MouseOverSelectedItemStyle (inherited from C1WebCommandBase)

Default style for the child items when the mouse hovers the selected item.

Padding (inherited from C1WebCommandBase)

Space between control's border and inner content.

Page (inherited from Control)

The page containing the control.

Parent (inherited from Control)

The control containing this control.

PreloadImages (inherited from C1WebCommandBase)

Specifies whether to preload images used in the control.

ScrollAreaStyle (inherited from C1WebCommandBase)

Default style for the scrollable area in groups.

SelectedItemStyle (inherited from C1WebCommandBase)

Default style for the child items in selected state.

SeparatorStyle (inherited from C1WebCommandBase)

Default style for the separators.

ShowKeyboardShortcuts (inherited from C1WebCommandBase)

Whether to display the shortcut of an item next to the text of the item.

Site (inherited from Control)

Site of the control.

SpecialSymbolStyle

Default style for the special symbols in the menu.

Style (inherited from WebControl)

Low-level access to control styles.

SubMenuDisabledItemStyle

Default style for submenu items in disabled state.

SubMenuIconBarWidth

Sets or returns the width of the icon bar drawn on the side of submenus.

SubMenuItemStyle

Default style for submenu items in normal state.

SubMenuMark

Indicates whether space for the submenu mark is displayed.

SubMenuMouseOverItemStyle

Default style for submenu items in mouse over state.

SubMenuMouseOverSelectedItemStyle

Default style for submenu items in mouse over selected state.

SubMenuSelectedItemStyle

Default style for submenu items in selected state.

SubMenuSeparatorStyle

Default style for submenu separators.

SubMenuStyle

Default style for nested submenus.

TabIndex (inherited from WebControl)

The tab order of the control.

Target (inherited from C1WebCommandBase)

Default target (frame or window) to use when navigating.

TemplateControl (inherited from Control)

The TemplateControl that hosts this control.

TemplateSourceDirectory (inherited from Control)

The virtual directory of the Page or UserControl that contains this control.

ToolTip (inherited from WebControl)

The tooltip displayed when the mouse is over the control.

UniqueID (inherited from Control)

The unique ID of the control within the page.

VertPopupDirection

Gets or sets the vertical direction of the submenu's appearance.

Visible (inherited from Control)

Indicates whether the control is visible and rendered.

Width (inherited from WebControl)

The width of the control.

Protected Properties

ViewState (inherited from Control)

Current viewstate of the control.

See Also

C1WebMenu Class | C1.Web.Command Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.