RibbonItemBase.Size Property
Specifies the ribbon item size.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v23.1.dll
NuGet Package: DevExpress.Web
Declaration
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.
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