Skip to main content
Bar

BarSubItem.GetItemData Event

Allows you to populate the BarSubItem with items dynamically, before the BarSubItem’s dropdown is opened.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public event EventHandler GetItemData

Event Data

The GetItemData event's data class is EventArgs.

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