Skip to main content
All docs
V25.2
  • ButtonEdit.IsNeededKey(KeyEventArgs) Method

    Returns a value that indicates whether the ButtonEdit control must handle the key event.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.XtraEditors.v25.2.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public override bool IsNeededKey(
        KeyEventArgs e
    )

    Parameters

    Name Type Description
    e KeyEventArgs

    Event data.

    Returns

    Type Description
    Boolean

    true if the ButtonEdit control must handle the key event; otherwise, false.

    Remarks

    Container controls (for example, the Data Grid or TreeList) call the IsNeededKey method to determine whether to pass a key event to the in-place editor or handle it as a navigation event.

    See Also