DefaultTopBar.xaml 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <UserControl
  2. x:Class="Breda_Tour.CustomControls.DefaultTopBar"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:local="using:Breda_Tour.CustomControls"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. mc:Ignorable="d">
  9. <RelativePanel Background="#22000000" Height="40">
  10. <TextBlock x:Name="TopBarIcon"
  11. Foreground="White"
  12. FontFamily="Segoe MDL2 Assets"
  13. FontWeight="Bold"
  14. FontSize="18"
  15. RelativePanel.AlignVerticalCenterWithPanel="True"
  16. Text="{Binding MySymbol}"
  17. Margin="10,0,0,0"
  18. >
  19. </TextBlock>
  20. <TextBlock x:Name="TopBarHeaderText"
  21. Foreground="White"
  22. FontSize="18"
  23. RelativePanel.RightOf="TopBarIcon"
  24. RelativePanel.AlignVerticalCenterWithPanel="True"
  25. Text="{Binding Header}"
  26. Margin="10,0,0,1">
  27. </TextBlock>
  28. </RelativePanel>
  29. </UserControl>