123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <UserControl x:Class="PDF_Office.Views.EditTools.Background.BackgroundContent"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:background="clr-namespace:PDF_Office.ViewModels.EditTools.Background"
- d:DataContext="{d:DesignInstance Type=background:BackgroundContentViewModel}"
- mc:Ignorable="d"
- prism:ViewModelLocator.AutoWireViewModel="True"
- d:DesignHeight="760"
- d:DesignWidth="1280">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="../../../Styles/CustomBtnStyle.xaml"/>
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Background="#FFFFFF">
- <Border x:Name="ToolsBorder" BorderBrush="#1A000000" BorderThickness="0,1,0,1" Height="40">
- <WrapPanel HorizontalAlignment="Center" Height="40">
- <Button Style="{StaticResource InsideBarBtnStyle }">
- <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
- <StackPanel Margin="0,0,8,0">
- <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
- </StackPanel >
- <TextBlock Text="添加背景" VerticalAlignment="Center"></TextBlock>
- </StackPanel>
- </Button>
- <Button Style="{StaticResource InsideBarBtnStyle }" Command="{Binding DeleteBackgroundCommand}">
- <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
- <StackPanel Margin="0,0,8,0">
- <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
- </StackPanel >
- <TextBlock Text="移除" VerticalAlignment="Center"></TextBlock>
- </StackPanel>
- </Button>
- <Label Height="10" Width="1" Background="LightGray"></Label>
- <Button Style="{StaticResource InsideBarBtnStyle }" >
- <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
- <StackPanel Margin="0,0,8,0">
- <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
- </StackPanel >
- <TextBlock Text="批量" VerticalAlignment="Center"></TextBlock>
- </StackPanel>
- </Button>
- </WrapPanel>
- </Border>
- <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
- <Button Content="应用" Height="24" Width="44" Command="{Binding ConfirmEditToolCommand}"></Button>
- <Button Content="关闭" Height="24" Width="44" Margin="16,0,16,0" Command="{Binding CloseEditToolCommand}"></Button>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="1" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition Width="260"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="0" Background="#E7E9EC" >
- <ContentControl prism:RegionManager.RegionName="{Binding BackgroundDocumentRegionName}" Visibility="{Binding BackgroundDocumentVisible}"></ContentControl>
-
-
- </Grid>
- <Grid Grid.Column="1" Background="#F3F3F3">
- <ContentControl prism:RegionManager.RegionName="{Binding BackgroundSettingsRegionName}" Visibility="{Binding BackgroundSettingsVisible}"></ContentControl>
- </Grid>
- </Grid>
- </Grid>
- </UserControl>
-
|