|
123456789101112131415161718192021222324252627282930313233343536373839 |
- <Window x:Class="XHWK.WKTool.MinToolbar"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- 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"
- xmlns:local="clr-namespace:XHWK.WKTool"
- mc:Ignorable="d"
- Title="MinToolbar" Height="50" Width="20" AllowsTransparency="True"
- Topmost="True"
- ShowInTaskbar="False"
- WindowStyle="None" Margin="0" Left="0" Top="0">
- <Window.Background>
- <SolidColorBrush Opacity="0" Color="#00000000" />
- </Window.Background>
- <Viewbox>
- <Grid>
- <Border Background="White" CornerRadius="3">
- <!--<Grid x:Name="buttonMin" Height="25" Width="3"
- Margin="0.5"
- MouseEnter="buttonMin_MouseEnter">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
-
- <ContentPresenter
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{TemplateBinding ContentControl.Content}" />
- </ControlTemplate>
- </Button.Template>
- </Grid>-->
- <Grid x:Name="buttonMin" Height="25" Width="3" Margin="0.5" MouseEnter="buttonMin_MouseEnter">
- <Border x:Name="BorderBlack" BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="0" CornerRadius="3" Background="#2d8cf0">
- </Border>
- </Grid>
- </Border>
-
- </Grid>
- </Viewbox>
- </Window>
|