RibbonButtonItem.SmallImage Property
Gets the settings of a small item‘s image.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual RibbonItemImageProperties SmallImage { get; }
#Property Value
Type | Description |
---|---|
Ribbon |
A Ribbon |
#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 Small
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.