aspnetcore-js-devexpress-dot-richedit-45b10899.md
Declares context menu item settings.
export interface IContextMenuItemOptions
Run Demo: Context Menu Customization
Specifies whether an item separator should be displayed before the current item.
beginGroup?: boolean
| Type | Description |
|---|---|
| boolean |
true , to display a separator before the item; otherwise, false.
|
Specifies whether the context menu item is disabled.
disabled?: boolean
| Type | Description |
|---|---|
| boolean |
true , to disable the item; otherwise, false.”
|
Specifies the item icon’s identifier.
icon?: string
| Type | Description |
|---|---|
| string |
An icon identifier.
|
Provides access to an array of the item’s sub-items.
items?: ContextMenuItem[]
| Type | Description |
|---|---|
| ContextMenuItem[] |
An array of sub-items.
|
Specifies an identifier that allows you to localize the item’s text.
localizationId?: string
| Type | Description |
|---|---|
| string |
The item’s localization identifier.
|
If the text property is specified, the item is not localized.
See Also
Angular Application - Custom Localization Strings
Specifies the item text.
text?: string
| Type | Description |
|---|---|
| string |
The item text.
|
Specifies whether the item is visible in the context menu.
visible?: boolean
| Type | Description |
|---|---|
| boolean |
true , to display the item; otherwise, false.
|