Não pode escolher mais do que 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
|
- <UserControl x:Class="FryPot_DosingSystem.View.LabelPrint"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:FryPot_DosingSystem.View"
- xmlns:vm="clr-namespace:FryPot_DosingSystem.ViewModel"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <UserControl.DataContext>
- <vm:LabelPrintViewModel/>
- </UserControl.DataContext>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Image Source="../Resources/pictures/战斗机.jpeg"></Image>
- <Button Grid.Row="1" Width="200" Height="100" Command="{Binding PrintCommand}" >
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border Background="LightSeaGreen">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
- <TextBlock Text="图标" FontSize="24" Foreground="White"></TextBlock>
- <TextBlock Text="打印" FontSize="24" Foreground="White"></TextBlock>
- </StackPanel>
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
- </UserControl>
|