RibbonButtonItem.SmallImage Property
Gets the settings of a small item‘s image.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
RibbonItemImageProperties | A RibbonItemImageProperties object that contains image settings. |
Remarks
An item can be displayed in small or large size. An item size is small when the RibbonItemBase.Size property is set to Small; or the RibbonItemBase.Size property is set to Large but there is insufficient space to display the large item in the ribbon. Use the SmallImage property to provide an image displayed in the item when it is small.
Note
The image specified for the SmallImage property should be 16 by 16 pixels.
To specify a large item image, use the RibbonButtonItem.LargeImage property.
If the ribbon is bound to a data source, item image urls can be retrieved from the data source field specified by the RibbonItemDataFields.LargeImageUrlField and RibbonItemDataFields.SmallImageUrlField properties.