Tab
A newer version of this page is available. Switch to the current version.

RibbonItemBase.Size Property

Specifies the ribbon item size.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(RibbonItemSize.Small)]
public virtual RibbonItemSize Size { get; set; }
<DefaultValue(RibbonItemSize.Small)>
Public Overridable Property Size As RibbonItemSize

Property Value

Type Default Description
RibbonItemSize

Small

One of the RibbonItemSize enumeration values.

Remarks

Use the Size property to specify the size of the item: large or small. You can specify different images to represent small and large items using the RibbonButtonItem.SmallImage and RibbonButtonItem.LargeImage properties respectively.

ASPxRibbon_ItemSize

NOTE

If a large item has insufficient space, it is displayed as small item, irrespective of the Size property value. That is why it is recommended to specify both small and large images when setting the Size property to Large.

See Also