MainMenuButton.xaml 1.0 KB

1234567891011121314151617181920212223
  1. <UserControl x:Class="MuchInfo.Chart.WPF.Controls.Utilities.MainMenuButton"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. mc:Ignorable="d">
  7. <Border x:Name="borderHover"
  8. HorizontalAlignment="Stretch"
  9. VerticalAlignment="Stretch"
  10. Background="Transparent"
  11. BorderThickness="1"
  12. CornerRadius="3"
  13. MouseEnter="LayoutRoot_MouseEnter"
  14. MouseLeave="LayoutRoot_MouseLeave"
  15. MouseLeftButtonDown="LayoutRoot_MouseLeftButtonDown">
  16. <TextBlock x:Name="lblMain"
  17. Margin="9,4,9,4"
  18. HorizontalAlignment="Center"
  19. VerticalAlignment="Center"
  20. FontFamily="Arial"
  21. Text="File" />
  22. </Border>
  23. </UserControl>