Skip to main content

DxTabBase.Enabled Property

Specifies whether the tab or tab page is enabled.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Default Description
Boolean true

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.

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

Disabled tab

See Also