Back to Devexpress

Item

aspnet-15863-components-site-navigation-and-layout-ribbon-visual-elements-item.md

latest2.2 KB
Original Source

Item

  • Dec 17, 2020

Items are contained in a group‘s RibbonGroup.Items collection. An action on the Item (e.g., a button click or an editor value change) raises the ASPxClientRibbon.CommandExecuted event.

An item can be displayed in a large or small size. If a ribbon has insufficient space to display all of its items, large items can be displayed in a small size, provided that small item images are specified, or text is specified.

Ribbon items are represented by descendants of the RibbonItemBase class. To learn more about ribbon item types, see the Item Types topic.

The table below lists the main members that affect element appearance and functionality.

CharacteristicsMembers
TextRibbonItemBase.Text
ImageRibbonButtonItem.SmallImage, RibbonButtonItem.LargeImage
TooltipRibbonItemBase.ToolTip
StyleRibbonItemBase.ItemStyle, RibbonStyles.Item
SizeRibbonItemBase.Size
Drop-down Popup StyleRibbonStyles.ItemDropDownPopup
Pop-out ImageRibbonImages.PopOut
Item Separator VisibillityRibbonItemBase.BeginGroup
VisibilityRibbonItemBase.Visible
Access KeyRibbonItemBase.AccessKey