Back to Devexpress

RibbonButtonItem.SmallImage Property

aspnet-devexpress-dot-web-dot-ribbonbuttonitem.md

latest2.5 KB
Original Source

RibbonButtonItem.SmallImage Property

Gets the settings of a small item‘s image.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public virtual RibbonItemImageProperties SmallImage { get; }
vb
Public Overridable ReadOnly Property SmallImage As RibbonItemImageProperties

Property Value

TypeDescription
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.

See Also

Ribbon

LargeImage

LargeImageUrlField

SmallImageUrlField

RibbonButtonItem Class

RibbonButtonItem Members

DevExpress.Web Namespace