This is a migrated thread and some comments may be shown as answers.

Set another Project View as TabStrip Content

1 Answer 69 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Mario
Top achievements
Rank 1
Iron
Mario asked on 09 Apr 2021, 12:27 PM

Hello, Is it possible to define a view (razor-class) as the content of a TabStripTab, as is possible in the Telerik WPF TabItem? Something like this:

<Tabcontrol>

    <TabItem>

         <TabItem.Content>

                  <view:AnotherProjectView x:Name="AnotherProjectView "/>

         </TabItem.Content>

    </TabItem>

</Tabcontrol>

1 Answer, 1 is accepted

Sort by
0
Accepted
Mario
Top achievements
Rank 1
Iron
answered on 09 Apr 2021, 01:41 PM

Got it!

<TelerikTabStrip TabPosition="Telerik.Blazor.TabPosition.Top" @ref="mainTabStrip">
  
            <TabStripTab Title="MyTab">
                <AnotherProjectView ></AnotherProjectView >
            </TabStripTab>

</TelerikTabStrip>

 

Tags
TabStrip
Asked by
Mario
Top achievements
Rank 1
Iron
Answers by
Mario
Top achievements
Rank 1
Iron
Share this question
or