Hello.
So I created a new button in PDFReaderPage.xaml:
<Button x:Name="flyout" Style="{StaticResource AppBarButtonStyle}" Tapped="OnOptionItemTapped">
<Image Source="Assets/images/icon_menu.png"/>
</Button>
And I gave the button a function in PDFReaderPage.xaml.cs:
else if (name.Equals("flyout"))
{
Flyout flyout = new Flyout();
flyout.ShowAt(searchBtn);
}
I was wondering if it is possible to put another button small "x" in the flyout box. When "x" is clicked the flyout-box should disappear.
Also the flyout-box disappears when I scroll in a PDF-Document. Is it possible to Change it so the flyout-box does not disappear? The only time it should disappear is when the small "x" button is pressed.