Skip to main content
A newer version of this page is available. .
Tab

RibbonItemDataFields.SmallImageUrlField Property

Gets or sets the name of a data field (or an xml element’s attribute) which provides URLs for images displayed within small items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue("SmallImageUrl")]
public virtual string SmallImageUrlField { get; set; }

Property Value

Type Default Description
String "SmallImageUrl"

A string value that specifies the name of the required data source field.

Remarks

The SmallImageUrlField property is in effect if the ASPxRibbon control is bound to a data source.

Use the SmallImageUrlField property to specify the bound data source’s data field (or an xml element attribute) which stores the locations of images that should be displayed within small items. The SmallImageUrlField property maps the RibbonButtonItem.SmallImage.Url properties of the RibbonButtonItem objects to the specified data field’s values.

ASPxRibbon_ItemSize

Note

The small item image should be 16 by 16 pixels.

To specify a data field which provides URLs for images displayed within large items, use the RibbonItemDataFields.LargeImageUrlField property. The RibbonItemDataFields.SizeField property allows you to specify a data field which provides item sizes.

See Also