I want to place a refresh button of my maui windows app in the title bar next to the flyout menu icon.
Here is a Screenshot of what i want to do:
Screenshot
As a workaround i placed it in the Shell.TitleView:
<Shell.TitleView>
<Grid RowDefinitions="*" ColumnDefinitions="Auto,*">
<ImageButton Grid.Column="0" Source="refresh.png" Clicked="RefreshButton_Clicked" />
<controls:MyTitleControl Grid.Column="1" Title="MyTitle"/>
</Grid>
</Shell.TitleView>
I need as much space as i can get for my page title, so i need to move the refresh button up to the title bar.
Please tell me how to put a button up there into the app’s title bar.