Skip to main content
Bar

BarEditItem.ShownEditor Event

Occurs after an editor has been activated.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public event ItemClickEventHandler ShownEditor

Event Data

The ShownEditor event's data class is ItemClickEventArgs. The following properties provide information specific to this event:

Property Description
Item Gets the BarItem whose link was clicked.
Link Gets the clicked BarItemLink.

Remarks

Use the e.Item.Manager.ActiveEditor property to get the editor.

using DevExpress.XtraBars;

private void barEditItem1_ShownEditor(object sender, ItemClickEventArgs e) {
  BarEditItem item = (BarEditItem)sender;
  TextEdit edit = item.Manager.ActiveEditor as TextEdit;
  //…
}
See Also