12345678910111213141516171819202122232425262728 |
- <UserControl x:Class="compdfkit_tools.Edit.CPDFTextStyleUI"
- 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:compdfkit_tools.Edit"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <StackPanel Name="TextStyleUI">
-
- <Grid>
- <TextBlock VerticalAlignment="Center" Margin="0,10,10,0">字体样式:</TextBlock>
- </Grid>
-
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <ComboBox Name="FontNameComboBox" Width="90" FontSize="14" SelectionChanged="FontNameComboBox_SelectionChanged">
- <ComboBoxItem Content="Courier"></ComboBoxItem>
- <ComboBoxItem Content="Helvetica"></ComboBoxItem>
- <ComboBoxItem Content="Times"></ComboBoxItem>
- </ComboBox>
- <ToggleButton Name="FontBoldBtn" FontSize="14" FontWeight="Bold" Width="40" Margin="10,0,10,0" BorderThickness="0"
- Checked="FontBoldBtn_CheckChanged" Unchecked="FontBoldBtn_CheckChanged">B</ToggleButton>
- <ToggleButton Name="FontItalicBtn" FontSize="14" FontWeight="Bold" Width="40" BorderThickness="0" FontStyle="Italic"
- Checked="FontItalicBtn_CheckChanged" Unchecked="FontItalicBtn_CheckChanged">U</ToggleButton>
- </StackPanel>
-
- </StackPanel>
- </UserControl>
|