Skip to content

Commit

Permalink
Undo changes to CustomTabView user control
Browse files Browse the repository at this point in the history
Commented out for future work
  • Loading branch information
Lamparter committed Dec 26, 2024
1 parent 2bb7c05 commit 1175895
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
SelectedItem="{x:Bind SelectedItem, Mode=TwoWay}"
TabCloseRequested="OnMainTabViewTabCloseRequested"
TabItemsSource="{x:Bind TabItems, Mode=OneWay}">
<TabView.TabStripHeader>
<!--"<TabView.TabStripHeader>
<Button
Grid.Column="1"
Width="30"
Expand All @@ -59,7 +59,7 @@
</AnimatedIcon>
</Viewbox>
</Button>
</TabView.TabStripHeader>
</TabView.TabStripHeader>-->

<TabView.TabItemTemplate>
<DataTemplate x:DataType="dataitems:TabViewItem">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ namespace FluentHub.App.UserControls.CustomTabView
{
public sealed partial class CustomTabView : UserControl, ITabView
{
/*
private MainPage _mainPage;
public MainPage MainPageInstance
{
get => _mainPage;
set => _mainPage = value;
}
} */

public ITabViewItem SelectedItem
{
get => (ITabViewItem)GetValue(SelectedItemProperty);
Expand Down Expand Up @@ -170,9 +172,10 @@ private void TabViewItem_Loaded(object sender, RoutedEventArgs e)
}
}

/*
private void GlobalNavigationButton_Click(object sender, RoutedEventArgs e)
{
_mainPage.LeftSideNavigationViewOpenerButton_Click(sender, e);
}
} */
}
}

0 comments on commit 1175895

Please sign in to comment.