Interface IMenuItemBase
Base interface for all MenuItem interfaces in SDK.
Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public interface IMenuItemBase
Properties
Exists
Indicates whether this menu item item exists.
Declaration
bool Exists { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasSubMenu
Indicates whether this menu item item contains a sub-menu.
Declaration
bool HasSubMenu { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Index
The 1-based index of this menu item.
Declaration
int Index { get; }
Property Value
| Type | Description |
|---|---|
| int |
IsChecked
Indicates whether this menu item has a check mark displayed next to it.
Declaration
bool IsChecked { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsEnabled
Indicates whether this menu item item is currently enabled.
Declaration
bool IsEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Label
The menu item label as a string. If duplicate items exist, returns the index.
Declaration
string Label { get; }
Property Value
| Type | Description |
|---|---|
| string |
Path
The path of this menu item.
Declaration
string Path { get; }
Property Value
| Type | Description |
|---|---|
| string |
SubMenuCount
The number of items contained in this menu item's sub-menu.
Declaration
int SubMenuCount { get; }
Property Value
| Type | Description |
|---|---|
| int |