Hey Fuse Community,
I have a 3 page. 1.ux, 2.ux, and 3.ux and the top header bar is 1header.ux, 2header.ux, and 3header.ux. I made individual header because whenever user goes to different screen there are different option on header bar. From my perspective that’s not a good way to do such thing. because I have to keep making header everytime I make page. Is there any example where I can change main header bar content based on different page.
OnePage.ux
<Page ux:Class="OnePage">
<Router ux:Dependency="router" />
<StackPanel>
<Header RightText="" Color="#F20655"/>
<StackPanel>
</Page>
OneHeader.ux
<string ux:Property="RightText" />
<float4 ux:Property="Color"/>
<Rectangle Fill="{ReadProperty Color}" Height="65">
<DockPanel Dock="Top">
<Text Value="" Alignment="Left" Font="MaterialIcons" Color="#fff" FontSize="35" Margin="5,25,5,0">
<Clicked Handler="{openLeftPanel}"/>
</Text>
<Text Value="{ReadProperty RightText}" Alignment="Right" Font="MaterialIcons" Color="#fff" FontSize="35" Margin="5,25,5,0">
</Text>
</DockPanel>
</Rectangle>