MenuItem Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class MenuItem : IComparable, IObjectWithId, IObjectWithGuid, ICloneable
The MenuItem type exposes the following members.
| Name | Description | |
|---|---|---|
| AuthRoleIds |
Ids of the auth roles that have access to the menu item.
| |
| ChildrenIds |
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.
| |
| Disabled | ||
| HideVertMenu |
Angiver om den vertikale menu skjules ved aktivering af menuitem’et.
| |
| Id | ||
| LongTitle |
LongTitle can be null
| |
| ParentId |
Id of the parent menu item.
ParentId is zero if the menu item is located in the root.
| |
| Root |
Angiver om der er tale om den særlige root node i manager objekt
| |
| SortChildren |
Angiver om children sorteres alfabetisk (i vertmenu.aspx).
I givet fald anvendes vorder ikke.
| |
| Title | ||
| UId | ||
| Url |
Can be on the format: JavaScript:somefunction()
| |
| VOrder |
| Name | Description | |
|---|---|---|
| Clone | ||
| CompareTo | ||
| IsAbsoluteUrl |
Returns true if the URL starts with http://, https://
If URL is empty it returns false.
| |
| IsJavaScriptCall |
Returns true if the URL starts "javascript:"
If URL is empty it returns false.
| |
| IsLocalUrl |
Returns false if the URL starts with http://, https:// or javascript://
If URL is empty it returns true.
| |
| IsSpecialMenuItem |
Returnerer true hvis det indsendte id er i mængden af specielle menuitems.
| |
| RemoveChild | ||
| SetVOrder | ||
| ToString | (Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
| Name | Description | |
|---|---|---|
| IObjectWithGuid.GetGuid | ||
| IObjectWithId.GetId |