Click or drag to resize

MenuItem Class

Inheritance Hierarchy
SystemObject
  Omada.OE.ModelMenuItem

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class MenuItem : IComparable, IObjectWithId, 
	IObjectWithGuid, ICloneable

The MenuItem type exposes the following members.

Constructors
  NameDescription
Public methodMenuItem
Top
Properties
  NameDescription
Public propertyAuthRoleIds
Ids of the auth roles that have access to the menu item.
Public propertyChildrenIds
Ids of child menu items. The collection is not always populated - in which case it is null. In addition, the collection may be only partially populated. This is the case if not all menu items are loaded from the database.
Public propertyDisabled
Public propertyHideVertMenu
Angiver om den vertikale menu skjules ved aktivering af menuitem’et.
Public propertyId
Public propertyLongTitle
LongTitle can be null
Public propertyParentId
Id of the parent menu item. ParentId is zero if the menu item is located in the root.
Public propertyRoot
Angiver om der er tale om den særlige root node i manager objekt
Public propertySortChildren
Angiver om children sorteres alfabetisk (i vertmenu.aspx). I givet fald anvendes vorder ikke.
Public propertyTitle
Public propertyUId
Public propertyUrl
Can be on the format: JavaScript:somefunction()
Public propertyVOrder
Top
Methods
  NameDescription
Public methodClone
Public methodCompareTo
Public methodIsAbsoluteUrl
Returns true if the URL starts with http://, https:// If URL is empty it returns false.
Public methodIsJavaScriptCall
Returns true if the URL starts "javascript:" If URL is empty it returns false.
Public methodIsLocalUrl
Returns false if the URL starts with http://, https:// or javascript:// If URL is empty it returns true.
Public methodStatic memberIsSpecialMenuItem
Returnerer true hvis det indsendte id er i mængden af specielle menuitems.
Public methodRemoveChild
Public methodSetVOrder
Public methodToString (Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
See Also