Back to Devexpress

RibbonButtonItemOptions Interface

aspnetcore-js-devexpress-dot-richedit-57a417bc.md

latest2.3 KB
Original Source

RibbonButtonItemOptions Interface

Declares ribbon button item settings.

Declaration

ts
export interface RibbonButtonItemOptions

Properties

beginGroup Property

Specifies whether an item separator should be displayed before the current item.

Declaration

ts
beginGroup?: boolean

Property Value

TypeDescription
boolean

true to display a separator before the item; otherwise, false.

|

icon Property

Specifies the item icon’s identifier.

Declaration

ts
icon?: string

Property Value

TypeDescription
string

An icon identifier.

|

Remarks

Refer to the following help topic to view the full list of available icons and their identifiers: Built-In Icon Library.

localizationId Property

Specifies an identifier that allows you to localize the item’s text.

Declaration

ts
localizationId?: string

Property Value

TypeDescription
string

The item’s localization identifier.

|

Remarks

If the text property is specified, the item is not localized.

See Also

Angular Application - Custom Localization Strings

selected Property

Specifies whether the button is selected.

Declaration

ts
selected?: boolean

Property Value

TypeDescription
boolean

true to select the button; otherwise, false.

|

showText Property

Specifies the item’s text visibility.

Declaration

ts
showText?: boolean

Property Value

TypeDescription
boolean

true to display the item's text; otherwise, false.

|

toggleMode Property

Specifies whether the button is in toggle mode.

Declaration

ts
toggleMode?: boolean

Property Value

TypeDescription
boolean

true to enable toggle mode; otherwise, false.

|