Skip to main content
A newer version of this page is available. .

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;
}