APNSoft.WebControls Namespace (APNSoft Menu)

APNSoftMenu Members

APNSoftMenu overview

Public Instance Constructors

APNSoftMenu Constructor Initializes a new instance of the APNSoftMenu class.

Public Instance Properties

AutoPostBack Specifies whether the Menu control causes a postback to the server when an Item is selected. Default value is false.
BasePage Gets or sets the reference to the Base Page. Used only in Code Behind.
ClientScriptSource Gets or sets the source of the client-side script. Default value is GeneratedByComponent.
ClientSideOnSelect Gets or sets the name of the client-side function to be called when an item is selected. The function must accept two parameters: MenuID and ItemID.
CSSClassesPrefix Gets or sets the prefix for CSS Style classes. Used for association between the set of classes and one Menu instance.
CSSSource Gets or sets the location of the Menu's CSS Style. Default value is SkinFolder.
DataSource Gets or sets the data source that populates the items of the Menu control.
Elements Gets the collection of elements.
ExpandDelay Gets or sets a delay in milliseconds before a submenu expands. Default value is 250.
ExpandDirection Gets or sets the horizontal direction to which submenus expands. Default value is LeftToRight.
ExpandDirectionV Gets or sets the vertical direction to which submenus expands. It is applied to horizontal menu only. Default value is Downwards.
HighlightedPathOpacity Gets or sets the opacity level in percent of the Highlighted Path. Default value is 75.
HighlightPath Gets or sets the value indicating whether the menu highlights the selected item as well as the whole navigation path. Default value is false.
ItemOverCustomization Gets or sets the value indicating whether the menu uses the deep customization for the hovered Item. Default value is false.
Left Gets or sets the left coordinate for the menu, which positioned at an absolute position. Default value is 0.
LicenseFileName Specifies the name of the file that includes component License Key. Default value is Menu_Lic.xml.
LoadingText Gets or sets the text displayed in the tooltip while loading load-on-demand content. Default value is Loading....
LoadOnDemand Specifies whether submenu will be loaded on demand. Default value is false.
Orientation Specifies the menu orientation. Default value is Horizontal.
OutputFooter Gets or sets the data used as a footer for the output DHTML code. Use the "Default" keyword for the standard comment.
OutputHeader Gets or sets the data used as a header for the output DHTML code. Use the "Default" keyword for the standard comment.
OverlapH Specifies the amount of horizontal overlap a submenu will have over its parent Menu Item. Default value is -5px.
OverlapV Specifies the amount of vertical overlap a submenu will have over its parent first level horizontal menu. Default value is -4px.
Position Specifies the menu position. Menu can be positioned at an absolute or static (relative) position. Default value is Static.
SEOEnabled Gets or sets a value indicating whether the menu renders an additional NOSCRIPT section with links let all search engines index your website properly. Default value is false.
ShadowColor Gets or sets the color of the shadow displayed for each submenu. Also you need to set the ShadowDepth property. Works in Internet Explorer only.
ShadowDepth Gets or sets the depth of the shadow displayed for each submenu.
ShowStartingNode Gets or sets a value indicating whether the menu renders the starting node. Default value is true.
SkinFolder Gets or sets the URL for a Skin Folder. Skin Folder includes all component skin parts (CSS Style, images, etc.). The property value can be an absolute or relative URI.
SSLSecured Gets or sets a value indicating whether the menu works on a SSL secured site. Default value is false.
StructureFileURL Gets or sets the URL for the menu structure file. If the property is not specified, component uses internal default structure. The property value can be an absolute or relative URI. Menu has support to use the Web.sitemap file as a standard menu structure.
StructureXMLDocument Gets or sets the Menu Structure XML Document. This property is obsolete. The recommended alternative is the DataSource property.
SubMenusClose Gets or sets a value indicating whether all of the opened SubMenus are closed by mouse click outside the menu or automatically when the mouse goes away. Default value is Auto.
SubMenusHeight Gets or sets the maximum height in pixels for SubMenus. A SubMenu automatically becomes scrollable if its height less than the real height of its contents.
SubMenusOpen Gets or sets a value indicating whether the submenus of the root menu are opened by mouse click or automatically when user moves the mouse pointer over the menu item. Default value is Auto.
Top Gets or sets the top coordinate for the menu, which is positioned at the absolute position. Default value is 0.
TransitionEffect Provides an animated effect to display the submenus. Component supports 17 effects in total. Works in Internet Explorer only. Default value is None.
WarningsEnabled Gets or sets a value indicating whether the Menu generates a client-side JavaScript messages which allow developers to control the Menu status. Default value is true.
zIndex Gets or sets the value of z-index for the layers are generated by the menu. Default value is 200.

Public Instance Methods

DataBind Creates a binding between the Menu control and a data source.
GetSelectedItemID Returns the selected Item ID.
RaisePostBackEvent Enables a server control to process an event raised when a form is posted to the server.

Public Instance Events

OnItemClick Occurs on the server side when the item is clicked. Before using the OnItemClick event you should set the property AutoPostBack="True".

See Also

APNSoftMenu Class | APNSoft.WebControls Namespace