Back to Devexpress

StepProgressBarItem.AllowUserInteraction Property

windowsforms-devexpress-dot-xtraeditors-dot-stepprogressbaritem-5384d118.md

latest2.7 KB
Original Source

StepProgressBarItem.AllowUserInteraction Property

Gets or sets whether a user can move focus to the StepProgressBar item using the keyboard and select the item on click.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowUserInteraction { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Behavior")>
Public Property AllowUserInteraction As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A value that specifies whether a user can move focus to the StepProgressBar item using the keyboard and select the item on click.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

A user can interact with StepProgressBar items as follows:

  • Click an item to select it.
  • Use arrow keys to move focus between items.
  • Press Enter or Space to select an item.

The AllowUserInteraction property specifies whether to enable user interaction for an individual StepProgressBarItem and does not affect item appearance. To enable or disable user interaction for all StepProgressBar items, specify the StepProgressBar.AllowUserInteraction property.

Note

AllowUserInteraction affects only the end user experience. It does not affect item selection in code.

Tip

Users cannot interact with disabled items. Set the StepProgressBarItem.Enabled property to false to disable an item.

See Also

Enabled

StepProgressBarItem Class

StepProgressBarItem Members

DevExpress.XtraEditors Namespace