Shell TabBar Priority run

fakhravarifakhravari Member ✭✭✭
edited January 19 in Xamarin.Forms

hi

<TabBar>

    <Tab Title=" پروفایل من" Icon="User" TabIndex="0">
        <ShellContent ContentTemplate="{DataTemplate page:User}" />
    </Tab>

    <Tab Title=" دسته بندی" Icon="List" TabIndex="1">
        <ShellContent ContentTemplate="{DataTemplate page:Categorie}" />
    </Tab>

    <Tab Title=" صفحه نخست" Icon="Home" TabIndex="2">
        <ShellContent ContentTemplate="{DataTemplate page:Main}" />
    </Tab>

</TabBar>

how run curent page TabIndex="2"?

Tagged:

Best Answer

Answers

Sign In or Register to comment.