MagicCMS Documentation

MenuInfo Members

The MenuInfo type exposes the following members.

Constructors


  Name Description
Public method MenuInfo(MagicPost, Int32)
Initializes a new instance of the MenuInfo class extracting definition by a MagicPost element. If element post type is "Menu" the menu item is a sub menu otherwise is a link to a page or to a section of home page or to an external url, ecc.
Public method MenuInfo(MagicPost, Int32, Boolean)
Initializes a new instance of the MenuInfo class extracting definition by a MagicPost element. If element post type is "Menu" the menu item is a sub menu otherwise is a link to a page or to a section of home page or to an external url, ecc.

Properties


  Name Description
Public property ActiveClass
Gets the active class. Mark menu item as active if the page to which it points is the current page.
Public property CustomClass
Gets the MagicPost.CustomClass.
Public property Href
Gets the href attribute of the anchor HTML element.
Public property IconClass
Gets the MagicPost.IconClass.
Public property IconMenu
Public property IconString
Gets the menu item icon in string version.
Public property LinkElement
Gets the whole HTML anchor element as HtmlGenericControl
Public property LinkString
Gets the whole HTML anchor element as string.
Public property Pk
Gets the MagicPost.Pk.
Public property ShortTitle
Public property Submenu
Gets the submenu.
Public property Target
Gets the target. Target attribute in anchor HTML element.
Public property TestoBreve
Gets the MagicPost.TestoBreve.
Public property TestoBreve_RT
Gets the MagicPost.TestoBreve_RT.
Public property Tipo
Gets the MagicPost.Tipo.
Public property Title_RT
Gets the MagicPost.Title_RT.
Public property Titolo
Gets the MagicPost.Titolo.
Public property Url
Gets the MagicPost.Url.
Public property Url2
Gets the MagicPost.Url2.