Skip to main content

BaseGallery.CheckSelectedItemViaKeyboard Property

Gets or sets whether the gallery item currently selected via the keyboard should be immediately checked.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Appearance")]
public bool CheckSelectedItemViaKeyboard { get; set; }

Property Value

Type Description
Boolean

true if the gallery item currently selected via the keyboard should be immediately checked; otherwise, false.

Remarks

By default, navigating through a gallery’s items via the keyboard only selects (highlights) items but does not check them. To check a selected item, you have to press the ‘Enter’ key. If the CheckSelectedItemViaKeyboard property is set to true, navigating to any gallery item via keyboard arrows fires the BaseGallery.ItemCheckedChanged event and immediately checks the selected item.

Note

This setting has effect when only one gallery item can be selected at one time within a gallery or a gallery group. The BaseGallery.ItemCheckMode property must be set to the ItemCheckMode.SingleCheck, ItemCheckMode.SingleCheckInGroup, ItemCheckMode.SingleRadio or ItemCheckMode.SingleRadioInGroup.

See Also