Dispenser/DispenserUI/Views/MainWindow.axaml

41 lines
1.6 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:views1="clr-namespace:DispenserUI.Views"
Width="1920" Height="1080"
x:Class="DispenserUI.Views.MainWindow"
Icon="/Assets/favicon.ico"
Title="海炬转移控制系统"
WindowState="FullScreen">
<Window.Styles>
<Style Selector="Button:pointerover /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Background" Value="#005fb8" />
<Setter Property="Foreground" Value="#ffffff" />
<Setter Property="Cursor" Value="Hand" />
</Style>
<Style Selector="ToggleButton:pointerover /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Cursor" Value="Hand" />
</Style>
<!-- TabControl样式 -->
<Style Selector="TabControl">
<Setter Property="Background" Value="#FFF" />
</Style>
<!-- 未选中的TabItem样式 -->
<Style Selector="TabItem">
<Setter Property="Background" Value="#DDD" />
<Setter Property="Foreground" Value="Black" />
</Style>
<!-- TabItem hover 样式 -->
<Style Selector="TabItem:pointerover">
<Setter Property="Cursor" Value="Hand" />
</Style>
<!-- 选中的TabItem样式 -->
<Style Selector="TabItem:selected">
<Setter Property="Background" Value="#005fb8" />
<Setter Property="Foreground" Value="White" />
</Style>
</Window.Styles>
<views1:MainView />
<!-- <views:SplashView /> -->
</Window>