TX Text Control .NET for Windows Forms

SelectWithArrowKeys Property

Property|Introduced in 28.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value indicating whether an item is set to selected after choosing it by using arrow keys. If the property is set to false, pressing an arrow key moves the selector to the corresponding item, but does not select the item. The default value is false.

Syntax

public bool SelectWithArrowKeys { get; set; }

Examples

The following example uses RibbonListView.SelectWithArrowKeys to configure select with arrow keys as part of the ribbon list view workflow. The change is then applied to the active document or user interface.

ribbonListView.SelectWithArrowKeys = true;
ribbonListView.Update();