Reputation: 241
I am develop an UWP app, and I am using Template10 (Hamburguer Menu). In Settings Page, there is, by default, 3 pages: Settings, About and Privacy statement.
I want only one page - Settings
How do I remove that option to choose between the three pages? I already managed to remove it, but it always remains there.
Upvotes: 0
Views: 46
Reputation: 10627
Please try to find the relative Pivot
control in Views->SettingsPage.xaml
of your project and delete or commented out the following two PivotItems
, the "About and Privacy statement" will gone.
<!-- privacy -->
<PivotItem
Padding="0"
DataContext="{Binding SettingsPartViewModel}"
Header="Privacy statement">
<ScrollViewer Margin="0,0,-12,0" VerticalScrollBarVisibility="Auto">
...
</ScrollViewer>
</PivotItem>
<!-- about -->
<PivotItem Header="About">
<RelativePanel DataContext="{Binding AboutPartViewModel}">
...
</RelativePanel>
</PivotItem>
Upvotes: 2