Skip to main content

XtraTabPage.PageEnabled Property

Gets or sets whether a tab page can be selected.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
public virtual bool PageEnabled { get; set; }

Property Value

Type Default Description
Boolean true

true if a tab page is enabled and can be selected by an end-user or via code; otherwise, false.

Remarks

Use the PageEnabled property to temporarily disable the current tab page. A disabled page cannot be selected by an end-user or via code, its header is displayed grayed as shown in the image below.

XtraTabPage_PageEnabled

The following code snippets (auto-collected from DevExpress Examples) contain references to the PageEnabled property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also