Skip to content

Commit

Permalink
✨ Add home button to tab bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter committed Sep 17, 2024
1 parent d8460fb commit 0154dc9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,23 @@
SelectedItem="{x:Bind SelectedItem, Mode=TwoWay}"
TabCloseRequested="OnMainTabViewTabCloseRequested"
TabItemsSource="{x:Bind TabItems, Mode=OneWay}">
<TabView.TabStripHeader>
<Button
Grid.Column="1"
Width="30"
Height="30"
Margin="4,0,-2,0"
Padding="5"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Background="Transparent"
BorderThickness="0"
ToolTipService.ToolTip="Home">
<Button.Content>
<FontIcon FontSize="16" Glyph="&#xE80F;" />
</Button.Content>
</Button>
</TabView.TabStripHeader>

<TabView.TabItemTemplate>
<DataTemplate x:DataType="dataitems:TabViewItem">
Expand Down

0 comments on commit 0154dc9

Please sign in to comment.