BarSubItem.GetItemData Event
In This Article
Allows you to populate the BarSubItem with items dynamically, before the BarSubItem's dropdown is opened.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Event Data
The GetItemData event's handler receives an argument of the EventArgs type.
#Remarks
When a BarSubItem's dropdown is about to be displayed, the GetItemData event fires. You can handle this event to populate the item's dropdown with bar item links dynamically.
The BarSubItem object being processed is specified by the event's sender parameter. To provide bar item links for the BarSubItem, use the BarSubItem.ItemLinks collection.
See Also