Breaking Change T1232932
Visible to All Users

BarEditItems in Ribbon Control Now Retain Focus During Keyboard Navigation

What Changed

Starting with v24.1, when the WinForms BarEditItem has focus and a user presses an arrow key, the BarEditItem retains focus, which allows the user to navigate within the editor:

24-1-winforms-ribbon-dropdown-items-keyboard-nav.gif

In previous versions, arrow keys moved focus away from the BarEditItem.

Reasons for Change

This change allows us to improve keyboard navigation within WinForms Ribbon UI and Toolbars (for Accessibility/A11Y compliance purposes). Keyboard focus is now appropriately managed to mimic behaviors found in Microsoft Word.

Impact on Existing Apps

This change affects your application if it contains a Ribbon UI with BarEditItems and your users use a keyboard to navigate between ribbon items.

How to Revert to Previous Behavior

Set the BarManager.SuppressModifierKey property to None to revert to the previous behavior:

C#
barManager1.SuppressModifierKey = DevExpress.XtraEditors.SuppressKeys.None;

Additionally, each BarEditItem has a SuppressModifierKey property.

See also additional options for v24.1.5+ in
DevExpress.XtraEditors.KeyboardNavigationExtensions.None value's behavior is changed.

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.