RibbonItemBase.Text Property
Gets or sets the text content of the current ribbon item.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
A string value that specifies the text content of the ribbon item. |
#Remarks
Use the Text property to specify the current item’s text content. In addition to the text, you can specify an item’s image using the RibbonButtonItem.SmallImage and RibbonButtonItem.LargeImage properties.
If a ribbon is bound to a data source, item text can be retrieved from the data source field specified by the RibbonDataFields.TextField property.
If the Text property is set to a default value (“” or string.Empty), the caption of the item will be default. If the Text property is set to a non-default value, this value is used as the caption of this item.
Note
The Ribbon