Back to Devexpress

DxTabBase.Enabled Property

blazor-devexpress-dot-blazor-dot-base-dot-dxtabbase-d363abef.md

latest1.4 KB
Original Source

DxTabBase.Enabled Property

Specifies whether the tab or tab page is enabled.

Namespace : DevExpress.Blazor.Base

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(true)]
[Parameter]
public bool Enabled { get; set; }

Property Value

TypeDefaultDescription
Booleantrue

true to enable the tab; otherwise, false.

|

Remarks

Set the Enabled property to false to disable the tab or tab page. Users cannot interact with disabled tabs. If the current active tab becomes disabled, the DxTabs component updates the ActiveTabIndex property value.

razor
<DxTabs>
    <DxTab Text="Personal Information" Enabled="false" />
    <DxTab Text="Work Information" />
    <DxTab Text="Contact Information" />
</DxTabs>

Implements

Enabled

See Also

DxTabBase Class

DxTabBase Members

DevExpress.Blazor.Base Namespace