Skip to main content

How to: Prevent an In-Place Editor from Being Activated

The following code demonstrates the use of the ShowingEditor event handler which prevents an editor from being activated:

using DevExpress.XtraBars;

private void eItem1_ShowingEditor(object sender, ItemCancelEventArgs e) {
    e.Cancel = true;
}