chr
7 天以前 43a0207d207390abdeeb3ab9155eebf03edd7b1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<UserControl x:Class="PdmSwPlugin.PropertySetting.CommonSettingControl"
             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"
             mc:Ignorable="d"
             d:DesignHeight="450" d:DesignWidth="800">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/PdmSwPlugin.Common;component/Style/ToolBar.xaml"/>
            </ResourceDictionary.MergedDictionaries>
 
            <Style TargetType="Button">
                <Setter Property="FontSize" Value="16"/>
            </Style>
 
            <Style TargetType="UserControl">
                <Setter Property="FontSize" Value="16"/>
            </Style>
 
            <Style TargetType="TextBox">
                <Setter Property="FontSize" Value="16"/>
            </Style>
 
            <Style TargetType="Label">
                <Setter Property="FontSize" Value="14"/>
            </Style>
 
            <Style TargetType="ComboBox">
                <Setter Property="FontSize" Value="16"/>
            </Style>
 
            <Style TargetType="ComboBoxItem">
                <Setter Property="FontSize" Value="16"/>
            </Style>
        </ResourceDictionary>
    </UserControl.Resources>
 
    <StackPanel>
        <ToolBarTray Background="Transparent" ToolBarTray.IsLocked="True" >
            <ToolBar Style="{StaticResource CommonToolBar}" ToolBar.OverflowMode="Never" Band="1" BandIndex="1" Height="30">
                <Button ToolTip="刷新" Content="&#xe631;刷新" Click="Refresh_Click" FontSize="16"/>
 
                <Button ToolTip="保存" Content="&#xe60d;保存" FontFamily="{StaticResource iconfont}" FontSize="16"
                        Click="SaveButton_Click"/>
                <!--<Button ToolTip="另存" Content="&#xe60b;" FontFamily="{StaticResource iconfont}" FontSize="16"
                        Click="SaveAsButton_Click"/>-->
                <!--<Button ToolTip="另存">
                    <Image Source="Image/save.png"/>
                </Button>-->
                <Button ToolTip="加载可选项" Content="&#xe752;加载可选项" Click="LoadComboBox_Click" FontSize="16"/>
            </ToolBar>
        </ToolBarTray>
        <Label Content="{Binding ReadDocPath}"/>
        <AdornerDecorator x:Name="content">
            <StackPanel x:Name="contentPanel">
                
            </StackPanel>
        </AdornerDecorator>
    </StackPanel>
</UserControl>