Back to Devexpress

StepProgressBarItem.Enabled Property

windowsforms-devexpress-dot-xtraeditors-dot-stepprogressbaritem-bfcfdeaf.md

latest2.3 KB
Original Source

StepProgressBarItem.Enabled Property

Gets or sets whether the step item is enabled. Users cannot select disabled step items.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool Enabled { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Property Enabled As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the StepProgressBarItem is displayed as enabled and a user can interact with it; otherwise, false.

|

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.

Set the Enabled property to false to disable the step item. The disabled item is painted based on ContentBlockAppearance.CaptionDisabled and ContentBlockAppearance.DescriptionDisabled settings accessible in StepProgressBarItem.Appearance.

Note

You can also use the StepProgressBarItem.AllowUserInteraction property to prevent user interaction with the StepProgressBarItem. The AllowUserInteraction property does not affect item appearance.

See Also

AllowUserInteraction

StepProgressBarItem Class

StepProgressBarItem Members

DevExpress.XtraEditors Namespace