Swap the toolbar #62
Replies: 1 comment
-
Ah - I just answered this myself. <Page xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="ShellExample.Views.SecondView">
<NavigationBar.Header>
<Button Content="Filter"
Command="{Binding FilterCommand}"
Background="#00000000"></Button>
</NavigationBar.Header>
Welcome to Avalonia!
</Page>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to completely swap the toolbar on a page?
Or is the best approach to like "disable it" and create our own fake-tookbar?
Some of our views have very custom toolbars (search bar, dynamic title, and the like) and I am searching for a way to implement them.
Beta Was this translation helpful? Give feedback.
All reactions