<EjsTab @ref="sourceTab" CssClass="e-fill" EnableRtl="true" OverflowMode="OverflowMode.Scrollable" HeightAdjustMode="HeightStyles.None" Height="390px" ShowCloseButton="false">
<TabEvents></TabEvents>
<TabItems @ref="@TabItems1">
<TabItem @ref="@a">
<ChildContent>
<TabHeader Text="aaaaaaa"></TabHeader>
</ChildContent>
<ContentTemplate>
<div class="btn-container">
<EjsCheckBox EnableRtl="true" Label="همه اطلاعات بالا مورد تاییدم است." @bind-Checked="IsAccepted"></EjsCheckBox>
</div>
</ContentTemplate>
</TabItem>
<TabItem Disabled="IsAccepted" @ref="@b">
<ChildContent>
<TabHeader Text="bbbbbbbbb"></TabHeader>
</ChildContent>
<ContentTemplate>
<p>bbbbb</p>
</ContentTemplate>
</TabItem>
<TabItem @ref="@c">
<ChildContent>
<TabHeader Text="cccccccccccc"></TabHeader>
</ChildContent>
<ContentTemplate>
<p>cccccccccccccc</p>
</ContentTemplate>
</TabItem>
</TabItems>
</EjsTab>
@code{
EjsTab sourceTab;
TabItem a;
TabItem b;
TabItem c;
bool IsAccepted = true;
} |