12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <UserControl x:Class="PDF_Office.Views.PropertyPanel.AnnotPanel.StickyNoteProperty"
- 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:PDF_Office.Views.PropertyPanel.AnnotPanel"
- xmlns:AnnotPanel="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel"
- d:DataContext="{d:DesignInstance Type=AnnotPanel:StickyNotePropertyViewModel}"
- xmlns:CompositeControl="clr-namespace:PDF_Office.CustomControl.CompositeControl"
- xmlns:Convert="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel"
- mc:Ignorable="d"
- Loaded="UserControl_Loaded"
- Unloaded="UserControl_Unloaded"
- d:DesignHeight="450" d:DesignWidth="800">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="../../../Styles/SliderStyle.xaml"></ResourceDictionary>
- </ResourceDictionary.MergedDictionaries>
- <Convert:AnnotArgsTypeConverter x:Key="AnnotArgsTypeConverter"/>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid VerticalAlignment="Stretch" Background="#F3F3F3">
- <StackPanel Margin="12 0 12 0">
- <TextBlock Name="AnnotTypeTitle" FontFamily="Segoe UI" FontWeight="Bold" FontSize="18" LineHeight="24" HorizontalAlignment="Left" Margin="0,16,0,8"
- Text="便签"
- ></TextBlock>
- <Border Width="228" Height="100" BorderThickness="1" CornerRadius="2" BorderBrush="#DDDDDD" Background="White" Margin="0,8,0,0">
- <Grid VerticalAlignment="Center" HorizontalAlignment="Center">
- <Path Data="{Binding ExmpleData}" Fill="{Binding SharpColor}" Opacity="{Binding Transpent}"/>
- </Grid>
- </Border>
- <Grid Margin="0,18,0,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <CompositeControl:SlidContent x:Name="SlidOpacity" HorizontalAlignment="Right">
- </CompositeControl:SlidContent>
- <CompositeControl:ColorContent Grid.Row="1" x:Name="cusColor" />
- </Grid>
- </StackPanel>
- </Grid>
- </UserControl>
|