Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    [DefaultValue(true)]
    [DXCategory("Behavior")]
    public bool Enabled { get; set; }

    Property Value

    Type Default Description
    Boolean true

    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.

    WinForms - StepProgressBar User Interaction, DevExpress

    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