BlazorXTabs
v3.0.0
مكتبة مكونات علامات تبويب ممتدة توفر ميزات علامات تبويب مختلفة للبلازور!
الخروج من جميع الأمثلة على: Blazorxtabs Demo
<XTabs>
<XTab Title="Tab1">
Content 1
</XTab>
<XTab Title="Tab2">
Content 2
</XTab>
</XTabs>
<Router AppAssembly="@typeof(Program).Assembly">
<Found Context="routeData">
<XTabsRouteView CloseTabs="true" NewTabSetActive="true"
NavigationMode="BlazorXTabs.Configuration.NavigationMode.Navigable"
RenderMode="BlazorXTabs.Configuration.RenderMode.Full"
RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
</Found>
<NotFound>
<LayoutView Layout="@typeof(MainLayout)">
<p>Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
@attribute [XTabPageAttribute("Home")]
<XTab Title="Steps example">
<XTabs RenderMode="BlazorXTabs.Configuration.RenderMode.Steps">
<XTab Title="Step1">
This is step 1!
</XTab>
<XTab Title="Step2">
This is step 2!
</XTab>
<XTab Title="Step3">
This is the last step. Step 3!
</XTab>
</XTabs>
</XTab>
<XTab Title="Drag Example">
<XTabs IsDraggable="true" RenderMode="BlazorXTabs.Configuration.RenderMode.Partial" >
<XTab Title="1. I can be dragged!!">
<p>I can be dragged!!</p>
</XTab>
<XTab Title="2. Drag me!">
<p>Drag me!</p>
</XTab>
<XTab Title="3. Please drag me!! I hate being last place!">
<p>Please drag me!! I hate being last place!</p>
</XTab>
</XTabs>
</XTab>
Install-Package BlazorXTabsdotnet add package BlazorXTabs <link href="{YOUR-PROJECT-NAME}.styles.css" rel="stylesheet" />