Micro Focus Content Manager SDK 10.1
TRIM.SDK.MenuItem Class Reference

The MenuItem class is a simple base class that allows different types of menu elements to be put into an array. More...

Inheritance diagram for TRIM.SDK.MenuItem:
TRIM.SDK.TrimSDKObject TRIM.SDK.CommandDef TRIM.SDK.MenuPopup TRIM.SDK.MenuSeparator

Public Types

enum class  MenuItemTypes { MenuItemCommand , MenuItemPopup , MenuItemCustomPopup , MenuItemSeparator }
 

Properties

virtual MenuItem.MenuItemTypes MenuItemType [get]
 
virtual Icons Icon [get]
 Gets the identifier of the TRIM icon associated with this command. More...
 
- Properties inherited from TRIM.SDK.TrimSDKObject
string ErrorMessage [get]
 All TRIM SDK objects have an ErrorMessage property which can be used to examine any error that may have occurred in the most recent method call. More...
 
TrimException Error [get]
 All TRIM SDK objects have an Error property which can be used to examine any error that may have occurred in the most recent method call. More...
 

Additional Inherited Members

- Public Member Functions inherited from TRIM.SDK.TrimSDKObject
 TrimSDKObject ()
 

Detailed Description

The MenuItem class is a simple base class that allows different types of menu elements to be put into an array.

Member Enumeration Documentation

◆ MenuItemTypes

Enumerator
MenuItemCommand 
MenuItemPopup 
MenuItemCustomPopup 
MenuItemSeparator 

Property Documentation

◆ Icon

virtual Icons TRIM.SDK.MenuItem.Icon
get

Gets the identifier of the TRIM icon associated with this command.

◆ MenuItemType

virtual MenuItem.MenuItemTypes TRIM.SDK.MenuItem.MenuItemType
get